Click to See Complete Forum and Search --> : Question?


incalthis
04-08-2003, 10:06 AM
How do you prevent your page from looking horrid in someone else's browser?

havik
04-08-2003, 10:59 AM
Code it to work in that browser. Remember these issues when coding:

1) There are different screen resolutions
2) There are different browsers
3) Browsers have different versions
4) There are different Operating Systems
5) A browser (IE) may work well to display your page on windows, but may not work for MAC.

6) Javascript may be disabled

Any others anyone? I know I must be missing alot.

Welcome to the world of web development.

Here are some links to get you started:

NS4 HTML support:
http://developer.netscape.com/docs/manuals/htmlguid/index.htm

IE support:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp

JS NS4 support:
http://developer.netscape.com/docs/manuals/js/client/jsref/index.htm

CSS guide:
http://www.htmlhelp.com/reference/css/

General:
http://www.pageresource.com/
http://www.w3schools.com/default.asp
http://codepunk.hardwar.org.uk/index.htm

Havik

Robert Wellock
04-08-2003, 12:04 PM
Actually the best method is not to target a particular browser but to follow the Technical Recommendations http://www.w3.org/ and then if necessary compensate for browsers like Micro$oft IE 6.0 that have major problems with CSS, etc.

Basically you should use semantic mark-up and use something similar to XHTML 1.1 for structure and CSS for style assuming you are targeting a mainstream visual browser.

Since CSS should degrade gracefully and remember there are browsers that don't support images, or JavaScript.