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
I think you may be overcomplicating the issue. Is the <body> the only element to be affected? If so, I would do soemthing like this: <body class=" <?php echo $bodyClass; ?> "> If it is more complicated, I would use the defined page to call a secondary stylesheet, after the first, which would detail the page specific styles. This second stylesheet would overide any styles set by the primary CSS file. Of course, if it is only slightly more complciated, you can use simple cascading in your stylesheet - [code] body.page1 h1 { ...styles... } [/code] etc.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »