of course. my mistake completely. remember doing that now of course. thanks again
~j On Thu, 02 Dec 2004 21:24:17 -0000, Kornel Lesinski <[EMAIL PROTECTED]> wrote: > > hmm. ok, of course you are right. My next question is, what writing > > a declaration like a#id, what is happening? Certinally don't wanna > > throw out a "it works so it must be right", since it is obviously not > > correct - but the question begs to be answered, why does it work? is > > that in some way implying display:block? > > Not at all. This is just a selector. It selects element "a" which has id > equal to "id". Only that. > > Read about selectors: > http://www.w3.org/TR/REC-CSS2/selector.html#id-selectors > > Various selectors may be joined together to select more specific element > in document. > > #id and a#id basically are the same, because only one element can have > certain id, BUT each selector has its 'specificity' value which affects > cascade: http://www.w3.org/TR/REC-CSS2/cascade.html > > a#id {color: green;} > #id {color: red;} > > <a id="id"> will be green. Not many webmasters actually know why Cascading > Style Sheets are cascading :) > > -- > regards, Kornel LesiÅski -- Jonathan T. Sage Theatrical Lighting / Set Designer Professional Web Design [HTTP://www.JTSage.com] [HTTP://design.JTSage.com] [EMAIL PROTECTED] ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
