Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tables
Message
From
18/02/2003 14:33:42
 
 
To
18/02/2003 14:25:40
General information
Forum:
Internet
Category:
Netscape Navigator
Title:
Re: Tables
Miscellaneous
Thread ID:
00754566
Message ID:
00754607
Views:
28
>can i have an example for the same

The following applies a stylesheet for IE or for any other browser:
if (document.all)
{
   document.write("<link rel='stylesheet' href='/Stylesheet.css' type='text/css'>")
}
else
{
   document.write("<link rel='stylesheet' href='/Netscape.css' type='text/css'>")
}
Of course, you have to build your own stylesheets, adjust the path here and add a line like this at the top of your page:
<script language=JavaScript src=Javascript/Stylesheet.js></script>
See my article for more details:

http://www.levelextreme.com/Magazine/December2002/Page32.asp
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform