Aligning text and image in center

Started by Nicpoint45, 04-21-2010, 16:06:44

Previous topic - Next topic

Nicpoint45Topic starter

How would I align the text and images in a single div? Would you just use padding and margins?
  •  


Seofinder

Please try it out

<IMG SRC="book.gif" ALIGN="----" WIDTH="70" ALT="A book">

I think it will work definitely to solve your problem..
  •  


bigzee

to center the text within a block level you can use:

text-align: center;

to center a div you can use the margins:

margin: 0px auto;

Hope that helps matey!

  •