You are here: irt.org | FAQ | JavaScript | Misc | Q1030 [ previous next ]
Try something like:
<html> <head> <script language="JavaScript"><!-- if (navigator.appVersion.toLowerCase().indexOf('mac') !=-1) document.write('<link rel=stylesheet href="mac.css" type="text/css">'); else document.write('<link rel=stylesheet href="windows.css" type="text/css">'); //--></script> </head> <body> ... </body> </html>