Seo Forum

Website Design and Graphics => Website Design => CSS Forum => Topic started by: Nicpoint45 on 04-21-2010, 16:06:44

Title: Aligning text and image in center
Post by: Nicpoint45 on 04-21-2010, 16:06:44
How would I align the text and images in a single div? Would you just use padding and margins?
Title: Re: Aligning text and image in center
Post by: Seofinder on 04-21-2010, 16:07:41
Please try it out

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

I think it will work definitely to solve your problem..
Title: Re: Aligning text and image in center
Post by: bigzee on 05-02-2010, 21:47:05
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!