OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
passing variables to external css?
This page's ID:
28816
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
[b]DL-44[/b]: The body class is just one that would be affected. There are a bunch more depending on the page. The "About Us" page might have 5 - 6 elements that would be different than the rest, the "Contact Us" page would have maybe 10 (just guessing on the numbers). That is why I just wanted to pass variables to the style sheet. However, I think I might use your second suggestion on the separate style sheets. That might be the best thing to do until I can get the other going. If I put in the main style sheet the stuff that will not change and then in the other style sheets just put the stuff that goes along with that page. Question though (I can figure this out I guess) If in the main style sheet I put something like : [code] body{ margin:0px; padding:0px; } [/code] and then in the separate page put : [code] body.page1{ background-color:#8080FF; } [/code] The overall margin and padding of the body will still be 0 correct? Thanks for the help! Later, C:\
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »