PUBLIC   marks

ON THIS LINK

Create Resizable Images With CSS | Smiley Cat Web Design

by Krome & 1 other

Method One uses a background image. The main disadvantage of this method (other than the fact that the image is taken out of the content) is that I couldn't find a way to keep the image in the center of the div.

Method Two — my preferred solution — places the image inside the div in the HTML. This enables it to be centered within the div (thanks to Jonathan Snook for helping out with the CSS).

Comments

No comment on this link yet. React !


PUBLIC TAGS
on this link

css   design   web  

BY

Krome
the 03/12/2007 at 13:02

julie
the 03/12/2007 at 12:55