Previous Message
Next Message

Re: [css-d] # in style sheet

Sent by Chris Casciano on 11 February 2003 00:12


on 2/10/03 7:29 PM, Tim Laureska at [EMAIL-REMOVED] wrote:

> I've ordered an Eric Meyer CSS book but it won't be here for a few days,
> so I'll ask this possibly trivial question that I can't seem to easily
> find an answer to. what is the purpose of the # sign prefixing some of
> the selectors in a style sheet?  And I guess more importantly when do
> you use them? . if there's a web page that explains that, please send me
> there
> 
> Tim
> 
Its a selector used to refer to a tag with a specific ID... Such as

<div id="navigation">

All you need to know is in the specs
http://www.w3.org/TR/REC-CSS1#id-as-selector
http://www.w3.org/TR/REC-CSS2/selector.html#q1

-- 
[ Chris Casciano ]  [ [EMAIL-REMOVED] ]
[ see things  @  http://www.placenamehere.com ]
[ read words   @   http://www.chunkysoup.net/ ]
[ buy prints @ http://placenamehere.com/store ]
Previous Message
Next Message

Message thread: