Gunther Pilz wrote:
Yes, I can see that this is true. But why must you feel responsible for users who are going to spoof the User-Agent header? Unless there are special circumstances on the site you are running, and then you would know what these circumstances are and could most probably account for them:Hi Myron! Myron Turner schrieb:If you are concerned with an additional access to the server, since we are using PHP, why don't you include additional CSS for IE in a conditional php section: <?php if(preg_match('/MSIE/',$_SERVER['HTTP_USER_AGENT'])) { echo '<STYLE type="text/css">'; /* place additional css here */ echo '</STYLE >'; } ?> Just make sure this comes after the stylesheets have been loaded.I don't wanna use the HTTP_USER_AGENT because it's not reliable in contrast to Conditional Comments. Gunther
if(preg_match('/spoofed_MSIE/',$_SERVER['HTTP_USER_AGENT'])) Just a thought, Myron -- _____________________ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist