OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
4px High Div
This page's ID:
27605
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]Karl said:[/b] Anything wrong with that approach? [/quote] Nope, in fact that's exactly what I was suggesting. To elaborate on the idea of a non-structural tag: you want to keep the mark-up as clean as possible. The HTML should only define the structure of the document - as in header, paragraph, list, etc. Div's are a nice general purpose structural element declaring divisions of the document (this portion of the document is the head, this is the content, this is the navigation, etc). Any purely presentational elements should be defined soley through the CSS, to the extent to which that is possible. Adding a div that has no value as markup, and is strictly presentational, should be avoided at (almost) all costs. Epsecially in a case where all you need to do is add a border to an existing structural element. This is the same reason the style="" attribute should be avoided, and why class and ID names should be given structural significance rather than stylistic (ie; <div id="navigation"> as opposed to <div id="left-menu">, etc). [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 »