Is there a way to point to the default CSS class of an object?
For example, depending if a user is logged in I want to specify a different CSS class to control the style of a header.
$css_class = ""; if($logged_in) $css_class = "success" echo "[h1 class=".$css_class."] My Title [/h1]"
If the user is logged in, the css class is set to "success"" otherwise, it's set to "".
I know it's improper w3c to have a blank class, but is there a way that I can just point to the default H1 property instead of creating a separate "not logged in" css class?