OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
class VS id what is the difference
This page's ID:
10895
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
I am wondering does the class and ID tagging interact with one another in the sense that the following: <div class=shoppingCartItem id=8877>displays item in side bard shopping cart style</div> <div class=itemDisplay id=8877>displays the item in the center of the page</div> If I add a style to #8877 that will apply to both classes? Can I some how specify that the styling for that ID only occur if it is a part of class itemDisplay? I have a hack answer to this which is my id should be itemDisplay8877 or shoppingCartItem8877 which will then allow me to address each ID within a sudo context of its class. Any better ideas? Thanks
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »