Re: IE, Mozilla,Opera
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: IE, Mozilla,Opera

From: Roger <crosseyedpenguin@cox.net>
Date: Thu Jun 30 2005 - 18:28:42 CEST

tech_learn wrote:
> HI,
>
>
> Can any one tell me how to findout Client is using IE or Mozilla or
> Netscafe Opera. I need Javascript Code.
>
>
> My site is not aligning properly in Mozilla and netscafe. So I decided
> to findout client OS do seperat code for each.

Per my personal experience in trying to get various browsers to display
a page the way I intended, I have found that the vast majority of
problems are due to my own incorrect HTML/CSS/Javascript code.

The best way to resolve these problems is to switch to Firefox and
download some of the development extensions. In particular, I find
HTML-Validator very useful. Finding bugs in CSS and Javascript is more
difficult, particulary if you are using Javascript to set CSS styles.

If you get your code correct (including a proper doctype), it will
probably work with every browser.

Roger
Received on Tue Oct 18 02:50:28 2005