OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Scroll Bar Color for scrollable DIV
This page's ID:
28197
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
To expand slightly: the less mark-up you have, the better off you are. Adding an extra div for the sake of specifying addtional styles is pretty inefficient. To make sure I'm being clear: in your markup, you would have soemthing like: [code] <div id="myId" class="myClass">content...</div> [/code] in your CSS, you would have: [code] #myId { styles... } .myClass { styles... } [/code] Ok, as far as class and id names - #head/#header, #foot/#footer, are IMO perfectly suitable. Though they do imply position, they are also standard terminology which communicates prupose. In this particular case, something more like #logo and #navigation might be more suitable though. #middle is no good. It tells you nothing of purpose or structure, only position. This is bad because the goal of having HTML and CSS is to separate your style and your content. "middle" in this context is meaningless. A name of #content would be far more suitable. .bg_Image1 is totally useless. It tells us nothing at all. What is the purpose of the two separate background images? Take that purpose and incorporate it into the class name. Following these kind of guidelines will help ensure that 1) your markup makes sense and 2) in the future, your markup will remain valid even if the styling needs to change drastically. [url=http://in-dented.com/sigs.html][img]http://in-dented.com/sigs/knot_sig_32.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »