Hide StyleSheet 
In the following MSIE means Microsoft Internet Explorer and NN means Netscape Navigator/Communicator.
MSIE3 handles stylesheets very different than MSIE4 and NN4. A page may look "nice" in NN3 and "cool" in NN4/MSIE4. But it looks absolutely awful in MSIE3. The solution could be to disable the stylesheet in MSIE3. MSIE3 will then display the page like NN3.
NN4 do not accept the javascript/document.write script found in Browser Specific Code article. The script must be modified a little to hide the stylesheet instead of writing it. The methods below works.
<script language=javascript type="text/javascript">
<!--
if (navigator.userAgent.indexOf("MSIE 3.0") != -1)
document.writeln('<!--')
// -->
</script>
<link rel=StyleSheet href="mystyle.css" type="text/css">
<script language=javascript type="text/javascript">
<!--
if (navigator.userAgent.indexOf("MSIE 3.0") != -1)
document.writeln('-')
// End tag for MSIE3 comment below -->
</script>
|