Okay, the html document has these elements:
<p> This is a paragraph </p>
<p id="dinosaur">This is a paragraph with a dinosaur.</p>
And the css file contains these properties:
p {border-style:dotted;}
p#dinosaur {border-style:solid; border-color:green}
Why does the second paragraph have a dotted border but is green?
Name:
Anonymous2008-05-08 20:31
man you bitches cant even answer this...
Name:
Anonymous2008-05-08 20:42
SPECIFICITY
Name:
Anonymous2008-05-08 20:51
EVERYONE DO THE HAMSTER DANCE!
Thats all I can think of.
who does fucking tag#whatever anyways?
besides its all about using discreet selectors to define what style a tag should have, fuck ids! :D
Name:
Anonymous2008-05-08 20:52
yes, but an id has a much higher specificity than a general element, as far as i know. right?
Name:
Anonymous2008-05-08 20:58
My guess would be that the browser implementation is incorrect. I really don't know if this is a bug or feature because I don't remember what's written in the HTML4 standard.
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy