Maybe another way to add a special class to the body tag would be to do something like this in your template:
PHP Code:
<?php
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
if ($url == 'http://mysite.com/register.php' || $url == 'http://mysite.com/login.php') {
echo '<body class="specialclass">'; } else {
echo '<body>';
}
?>
Just replace the <body> tag with the code above, changing the urls to the urls of the pages in question.
Bookmarks