here's an easy script i 'borrowed' from pbs.org -- works pretty well.
write unique CSS files and test them on appropriate platforms
<script language="JavaScript">
//Determine Operating System
system=navigator.appVersion;
if (navigator.appVersion.indexOf("Mac") != -1 ) OS = "Mac";
else if (navigator.appVersion.indexOf("PowerPC") != -1 ) OS = "Mac";
else if (navigator.appVersion.indexOf("Win") != -1 ) OS = "Win";
else if (navigator.appVersion.indexOf("SunOS") != -1 ) OS = "Solaris";
else OS = "Linux";
//Determine Browser Version
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if (OS == "Mac" && bName=="Netscape"){
document.write("<link rel=\"stylesheet\" href=\"mac.css\">");
}
else if (OS =="Mac" && bName=="Microsoft Internet Explorer"){
document.write("<link rel=\"stylesheet\" href=\"mac.css\">");
}
else if (OS =="Win" | OS == "Linux" && bName=="Netscape"){
document.write("<link rel=\"stylesheet\" href=\"main.css\">");
}
else if (OS =="Solaris" && bName=="Netscape"){
document.write("<link rel=\"stylesheet\" href=\"main.css\">");
}
else if (OS =="Win" | OS == "Linux" && bName=="Microsoft Internet
Explorer"){
document.write("<link rel=\"stylesheet\" href=\"main.css\">");
}
</script>
--- "Shaikh, NeelKamal (MED, TCS America)" <[EMAIL PROTECTED]>
wrote:
> THANK U Lindell .How can the problem be solved by javascript.Do u mean
> solving the problem by cascading style sheet.If it is so ,it didn't work
> out.
>
> Thanks a lot
> Neel
> -----Original Message-----
> From: Anders Lindell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 2:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Browser Incompatibility
>
>
> well, this is called browser-incompatibilities !!!!
>
> It's just the way it is...you can fix it with JavaScript but it's not
> funny and it's timeconsuming...but have trust - NS4 is going out of
> fashion soon - I hope......
>
>
> kr
>
> anders
>
>
>
> ----- Original Message -----
> From: "Shaikh, NeelKamal (MED, TCS America)"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 26, 2001 7:05 PM
> Subject: Browser Incompatibility
>
>
> > Hi,
> >
> > when I give , Font family: Verdana , size : 14pt . I see markable
> > difference when I view in Netscape-4.72 and IE-5.5.
> >
> > how can I solve this problem.
> > thanks in advance
> > Neel
> >
> >
> >
> > -----Original Message-----
> > From: Shah, Maulik (GEAE, Foreign National)
> > Sent: Monday, February 19, 2001 9:34 AM
> > To: [EMAIL PROTECTED]
> > Subject: Performance improvement
> >
> >
> > Hi All,
> >
> >
> > The scenario is, I'm having 5 lstboxes in a single page. Each
> > combo
> > box needs to be populated from different table from the database. I
> want
> > to
> > come up with an efficeient way of retrieving data for all the 5 list
> > boxes
> > once when a database connection is opened.
> >
> > Currently the code is : - calling a method in a bean for each listbox
> > ...each method is opening and closing the connection .... this is very
> > slow
> > ..and I need to improve the performance.
> >
> > Should I define vectors / hastable that can hold the values for each
> of
> > the
> > listboxes ..?
> >
> > or is there anyway, where I can have multiple resultsets.
> >
> >
> >
> > Thanks
> >
> >
> > Malik
> >
> >
> ========================================================================
> > ===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> ========================================================================
> ===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ========================================================================
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets