Linking a two style sheets to one document

To eliminate all of the browser issues regarding styles, I want to use a
style sheet for Netscape browsers and one for IE.

I have done this before, but don't really understand the implications of the
code that allows me to do it. And have searched the net, but cant seem to
find any info on this type of linking to CSS. Any ideas where I might find
more info?

<!--

//-->
//tmtC_cssOnBrowser
tmt_css_NN = "style_nn.css";
tmt_css_IE = "style_ie.css";
if(document.layers){
   document.write("<link rel='stylesheet' href='" + tmt_css_NN + "'
type='text/css'>");
}
if(document.all){
   document.write("<link rel='stylesheet' href='" + tmt_css_IE + "'
type='text/css'>");
}
else{
   document.write("<link rel='stylesheet' href='" + tmt_css_NN + "'
type='text/css'>");
}//tmtC_cssOnBrowserEnd//-->

</SCRIPT>

This email message and any accompanying attachments may contain information
that is confidential and intended only for the use of the addressee named
above.  It may also be privileged.  If you are not the intended recipient do
not read, use, disseminate, distribute or copy or take any action in
reliance on it.  If you have received this message in error please notify
the sender immediately and delete this message.  Before opening any
attachments, check them for viruses or defects.

Received on Friday, 28 March 2003 23:16:19 UTC