OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Selector Div Img and Class
This page's ID:
27703
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] [b]Blaise said:[/b] Ahh Suho, are you feeling unwanted? [/quote] Nah, I'm fine. Didn't mean to sound snippy. I was just a little disappointed that the other thread seemed to die just as I was getting fired up. I seem to be quite a thread-killer. ;) Karl: Blaise's advice is solid, and I don't have much to add in the way of value. That link to CSS Lounge is a pretty good primer on when to use classes and when to use IDs. Just to add a semantic (there's that word again!) note, though: IDs are used to identify an element so that you can refer to it without confusing it with other elements. Classes, on the other hand, are not identifiers, they are a way of applying a set of rules to elements. So even though it might sometimes be a little confusing when trying to decide which to use, they are actually very different things, and if you understand that it will make the choice easier. Once again, a good understanding of semantics saves the day. When you start to think in terms of meaning and function, all these things that are confusing now will become a lot clearer. :) [img]http://www.liminality.org/asylum/sigs/suho_umbrella04.gif[/img] ___________________________ Suho: [url=http://www.liminality.org]www.liminality.org[/url] | [url=http://www.ozoneasylum.com/4837]Cell 270[/url] | [url=http://www.ozoneasylum.com/5689]Sig Rotator[/url] | [url=http://www.ozoneasylum.com/22173]the Fellowship of Sup[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »