The Mudcat Café TM
Thread #94239   Message #1822704
Posted By: GUEST,Jon
30-Aug-06 - 10:30 AM
Thread Name: BS: Examples of good web page design
Subject: RE: BS: Examples of good web page design
Yes, I would run into problems with 4.01 strict rather than the 4.1 transitional I'm using for that reason, SRS.

I suppose I will have to succumb to CSS one day... The reasons I didn't when I did the re-write almost a year ago was a) I still had a couple of browsers that didn't get on well with CSS installed and avoiding it worked with everything I had and b) in the places where I thought it possible I might want to change an attribute for a general look, it was easy enough to use variables instead, eg. this would be possible.

In a configuration file:

$warningfont="<font color="black>";
$defaultfont="<font color="red>";
$closefont="<\font>";

Somewhere in the middle of a php page:

echo $warningfont . "Here is a warning" . $closefont;
echo $defaultfont . "Back to normal",.$closefont;