![]() ![]() |
| robby |
Dec 22 2008, 09:11 PM
Post
#1
|
|
Newbie ![]() Group: Members Posts: 11 Joined: 22-December 08 Member No.: 7,386 |
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
Post
#2
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,722 Joined: 9-August 06 Member No.: 6 |
If you have an id you can use an id selector.
http://htmlhelp.com/reference/css/structure.html The 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. -------------------- |
| robby |
Dec 23 2008, 04:05 PM
Post
#3
|
|
Newbie ![]() Group: Members Posts: 11 Joined: 22-December 08 Member No.: 7,386 |
If you have and id you can use an id selector. http://htmlhelp.com/reference/css/structure.html The 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. Thanks |
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 11:51 PM |