You are here: irt.org | FAQ | JavaScript | Misc | Q1615 [ previous next ]
You can do the following:
<html> <head> <script language="JavaScript"><!-- if (document.getElementById) document.write('<link rel="stylesheet" href="ie5_nn6.css" type="text/css">'); else if (document.layers) document.write('<link rel="stylesheet" href="ns4.css" type="text/css">'); else if (document.all) document.write('<link rel="stylesheet" href="ie4.css" type="text/css">'); //--></script> </head> <body> ... </body> </html>