A web site I maintain uses a PHP file to switch colours. The PHP file is called
switcher.php and has the following code:
<?php
setcookie ('sitestyle', $set, time()+31536000, '/',
'choroideremia.org', '0');
header("Location: $HTTP_REFERER");
?>
And my header file has:
<link rel="stylesheet" type="text/css" media="screen" href="layout.css") />
<link rel="stylesheet" type="text/css" media="screen" title="Default font size"
href="<?php echo (!$sitestyle)?'layout_medium'ß:$sitestyle ?>.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="Smaller
Font size" href="layout_small.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="larger
Font size" href="layout_large.css" />
Why are my font colours being ignored?
HTML http://www.choroideremia.org/new/crf_header.php
CSS http://www.choroideremia.org/new/layout.css
http://www.choroideremia.org/new/layout_medium.css
http://www.choroideremia.org/new/layout_small.css
http://www.choroideremia.org/new/layout_large.css
Angus MacKinnon
Infoforce Services
http://www.infoforce-services.com
"Faith is the strength by which a shattered world shall emerge into
the light." - Helen Keller
------------------------------------
Please remember to write your response BELOW the previous text.
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-listYahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/php-list/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/