The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> <img id="">
robby
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 23 2008, 12:17 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
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. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
robby
post Dec 23 2008, 04:05 PM
Post #3


Newbie
*

Group: Members
Posts: 11
Joined: 22-December 08
Member No.: 7,386



QUOTE(pandy @ Dec 23 2008, 12:17 AM) *

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. smile.gif

Thanks biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 11:24 PM