EZHTML
 
HTML for the complete beginner

IE and Netscape

My logs show there are a lot of people searching for Internet Explorer (IE) and Netscape (NS) browser differences. Some are common errors like missing end tag or missing value, other things include certain things not working in either browser.

Since things change on every new version released keeping a list of everything is very difficult, but I've tried to list most below.

Internet Explorer and Netscape would have to be the top two browsers, with Opera and Mozilla coming up behind.

Why do people hate some of these browsers? I think the biggest reason is speed (and sloppy coders are lazy). IE is bundled into Windows so is actually loaded when you start up your computer, Netscape on the other hand isn't so has to load plugins, fonts, preferences ... while you wait.
The actual surfing speed of these browsers are pretty hard to time but there isn't much in it. Opera claims to be the fastest browser on earth.

Making your site universal isn't very hard, in fact its actually easier to make your site in Netscape, as most things that work in Netscape work/display the same in other browsers. If you choose to make them in IE, that's fine but making them work in other browsers like Netscape becomes a chore as it hardy ever works/displays the same the first time if your code is sloppy.

There isn't much that doesn't work in both IE and Netscape, and if you see "best viewed with Internet Explorer" or similar you know they haven't done a user friendly job in making their site.

One main thing to remember when using tables in Netscape is to never leave a blank td cell, and is best to have each td cell on the same line:

<td>&nbsp;</td> which is the right way
<td>
&nbsp;
</td>
Is the wrong way, apart from being messy it does affect your table layouts.
Also background images for tables, IE will tile a background if set in the table tag, NS will repeat the background in every table cell, best way around it is to cut up the image and set as background in each td cell.

Body margins. Most people find two of them (the IE ones) but you need 4 to work in IE and NS, they are:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

Browsers have different margins, in some default is zero, others it's about 2. For things like cellpadding and cellspacing in tables set these to zero (0).
NS doesn't render table borders or background colours, IE renders background colours but doesn't render borders.
Fonts aren't supported in tables on NS if displayed outside of the table, where as IE will display them (best method is to use CSS and forget the font tag).

These are only a few things, if you have come to this page from outside this site look on the page topics for more work arounds for things like fixed backgrounds, form widths ...

Here are some other HTML tags that do and don't work

TagInternet ExplorerNetscape
abbrNo7 up
acronymYes7 up
buttonYes7 up
delYes7 up
fieldsetYes6 up
labelYesNot properly in NS7
bgsound3 upNo
blinkNoYes
bgpropertiesYesNo
embed4 upYes
frame
bordercolor
NoYes
frame
borber
YesNo
frame
spacing
YesNo
frameset
bordercolor
NoYes
frameset
border
NoYes
hr colorYesNo
qNo6.2 up
marqueeYes7 up
table
bordercolorlight
YesNo
table
bordercolordark
YesNo
table
bordercolor
YesNo
table
frame
YesNo
iframe4 up7 up

This isn't a complete list by all means, but lists the basics. The key is to test, test and test again.

Bad HTML «- Top of Page Test your HTML knowledge
  Home
Site Map
divider

HTML vs XHTML
divider

The Basics
Adding Text
Backgrounds
Adding Graphics
Clickable Links
Lists
Tables
Frames
Forms
Miscellaneous
CSS
divider

Colour Chart
Tags List
Special Characters
divider

Bad Html
IE and Netscape
divider

Test Your Knowledge
Questions (FAQ)
divider

Upload with WS_FTP
Upload with CuteFTP
divider

Related Links
Spam 101
divider

Link To This Site
Download This Site
divider

Contact me
About me
divider

For more help visit the webmaster-forums.net



 
© 1999 - 2003 EZHTML (munchtech.com)
Copyright notice