Forum Moderators: open

Message Too Old, No Replies

my page sould be browser compatability

my page sould be browser compatability

         

ambi

11:50 am on Sep 15, 2001 (gmt 0)



how to make my web pages compatible to both IE & netscape browser

i am using ASP. can i use Browser object to achieve it? if so do any sample to help?

regards
ambi

Xoc

9:45 pm on Sep 15, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The best way is to start by making your page the purest HTML you can. Check it with a HTML validator ([htmlhelp.com ]). Do all the complicated stuff on the server side with ASP, and feed down the basic HTML to the browser.

Only if you absolutely have to, sniff the browser. The browser object is not reliable. It requires an updated .ini file to track the various browser User Agent strings. If there isn't an exact match for the browser you are expecting, it returns that it is an unknown browser with minimal capablities.