Quote:
Originally Posted by paddyfields
Great, thanks.
In that case though when would you use div#mydiv {} as opposed to #mydiv{} to control an html element of <div id="mydiv"> ?
|
div#mydiv is a div tag with id mydiv
#mydiv is *any* tag with id mydiv
So again, they're two different things. I too will not typically use the first type for elements like divs. I do sometimes use them for text, where I might want to specifically target p.bold, and not just .bold.
Dave