|
-
Oct 22nd, 2002, 11:05 AM
#1
Thread Starter
Black Cat
Interesting: W3.org says not to use DIV and SPAN for CSS
From http://www.w3.org/TR/REC-CSS2/selector.html
Note. CSS gives so much power to the "class" attribute, that authors could conceivably design their own "document language" based on elements with almost no associated presentation (such as DIV and SPAN in HTML) and assigning style information through the "class" attribute. Authors should avoid this practice since the structural elements of a document language often have recognized and accepted meanings and author-defined classes may not.
So they are pretty much recommended not to do CSS by making a bunch of DIVs and SPANs and applying CSS class or id styles to them, but to stick with the standard HTML tags when possible, as those have established meanings.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|