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
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
