Internet Explorer VS Firefox

I'm a new ASP.NET developer. I've developed a web site an tested it with Explorer and all works fine. After I'll try it with Firefox and nothing run correctly, the graphics and the javascript. Many javascript function works only in IE and not in Firefox for example:

selection.move('character', 1);

selection.expand('character');

doesn't exist in Firefox. There are some documentation where I can see the difference between the 2 or anyone can put some links, example etc. ?

How can I develop a web site indipendent from the browser?

Thanks

[605 byte] By [MicheleTenuti] at [2007-12-25]
# 1

Hi Michele,

Here's an article from IBM that explains many of the issues, definitely worth a read... http://www-128.ibm.com/developerworks/web/library/wa-ie2mozgd/

Quite a good response from Bernard Marx explaining the issues... http://www.webmasterworld.com/forum91/4952.htm

Make sure you are using a valid DOCTYPE and perhaps use the W3C HTML Validator... http://www.thescripts.com/forum/thread497174.html

Hope that gets you started...

DylanMorley at 2007-9-3 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...
# 2
General browser & webserver questions are off topic for this forum. Please try one of the forums over at http://forums.asp.net/
alazela at 2007-9-3 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...