OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Styling lists is driving me nuts!
This page's ID:
25955
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
Incidentally, I think I would follow Slime's "for instance" and get all those class declarations out of your <li>'s. It's far easier to write your classes as few times as possible. [code] ul.page_item li { styles } <ul class="page_item"> <li>Item</li> <li>Item</li> <li>Item</li> </ul> [/code] ... is much easier to type and read than ... [code] li.page_item { styles } <ul> <li class="page_item">Item</li> <li class="page_item">Item</li> <li class="page_item">Item</li> </ul> [/code] Just recently I was asked to clean up a site in which the designer had a huge table of data in which he had added the same class declaration in each and every <td>, as well as to all the <p>'s inside them, instead of simply adding a one class to the table tag and addressing it as table.class td { styles } and table.class p { styles }. [url=http://www.texastwisted.com][img]http://www.bigwaste.com/asylum/sig_awesome_01.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »