robby
Dec 22 2008, 09:11 PM
I guess you can call me new to the world of html. For the most, I have a pretty good idea of css. On a few sites I've seen <img id="">. I was just curious as to what its intent was and how css applies to images. Any help is appreciated.
pandy
Dec 23 2008, 12:17 AM
If you have an id you can use an id selector.
http://htmlhelp.com/reference/css/structure.htmlThe id can also be used for scripting purposes.
A lot of CSS can be used with an image. Maybe it needs a margin or a colored border. Maybe you want to float it or position it. Or you want to hide it when printing. Or something.