OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
alternative to white-space:nowrap (IE bug?)
This page's ID:
27539
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]GRUMBLE said:[/b] i just thought i could save some code by applying a style to the mother element, which should be inherited to its children. [/quote] Would save more code and time by 1) using the proper mark-up (ie <th> ) 2) either applying the style to all <th> (as poi demonstrated) or by applying a class to the table, and specifying it accordingly in the CSS - table.class th { ... } Keep the 'style' attribute out of your markup, and don't bother putting a class in each <th>. You have to remember that each element has default settings, which vary by user agent. Style attributes are not automatically inherited by child elements of a different type. [url=http://in-dented.com/sigs.html][img]http://in-dented.com/sigs/knot_sig_32.gif[/img][/url] [small](Edited by [url=http://www.ozoneasylum.com/user/163]DL-44[/url] on 02-20-2006 22:45)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »