View Single Post
Old 06-03-2013, 03:40 PM   #99
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,374
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
But to be honest, I don't actually see the use for defining an ID in CSS instead of a class.


I would surmise that "those who create the specs" wanted to keep things ordered and logical when they defined a group style vs. an individual style. In practice things don't always get used as intended, hence we have deprecated styles and tags.

I think it's just a matter of technique. I have used the tag selectors to change the way a particular item class is styled...if the change is minor, or if i need to do it to achieve specific functionality.

For example to not take up space on a page, but to get sigil to put it in the TOC.

h2[title="Copyright Page"] {display:none; margin:0}

<h2 title="Copyright Page"></h2>

Last edited by Turtle91; 06-04-2013 at 03:38 AM.
Turtle91 is offline   Reply With Quote