body { color:red; }
html body { color:green; }
your text will be green because the 2nd selector is more specific. If
you wanted to be even more specific:
html>body { color:blue; }
but the direct descendant selector only works in newer browsers
(firefox, etc.).
Here's an idea, why not do:
<body class="#listFirst(listLast(cgi.script_name, "/"), ".")#">
so if your page is "/files/folder/mypage.cfm", it should output <body
class="mypage">, then you just use the class on the selector...
body.page { color:pink; }
good luck
-nathan strutz
http://www.dopefly.com/
dave wrote:
> is there a way to override a body tag?
>
> what the problem is that i have 1 page that i want a white bg on but in
> my css i have an image bg in my body tag and i need the css file in
> there and dont really want to add another for validation purposes.
>
> so again, is there a way to be able to over ride the css files settings?
> thank ya
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

