Posted on 2000-04-20
in the question "IE/NN difference", your comments (below) were very helpful but another had answered the basic question. So here is some points for you
It's a sad combination of presentational and not-so-presentational markup, probably created by Dreamweaver (I spot the 'mm_'). First rule for making things work is: Make sure your code is good.
1: <body bgcolor="#ffffff"> if you define one of those colors, define them all so they won't clash with user preferences.
2: <p><b><span ... > unecessary, apply the style directly to the paragraph, and add 'font-weight:bold;' so you get the '<b>' in there too.
3: the paragraph and the form is incorrectly nested, should be the other way around (<form><p>). paragrahps can't contain block level elements (it implies a </p>). besides, FORM elements aren't allowed inside table cells, so remove one of the forms and wrap the table inside the form.
4: the two FONT elements are redundant. you're using CSS for other things, so use it for everything. apply the style attribute to the paragraph, and dump the font properties there. <p style="font-family:Arial,Helvetica,sans-serif;font-size:75%;">
5: what's that C element?
anyway, it's the first table/layer/div that crashes Netscape. more specifically, the second input field (shouldn't it be of type "password" btw?), once you wrap the paragraph around it Netscape crashes (don't know exactly why).
I'm also curious as to why the div/layer containing the first table has a width of 240px, while the table itself is set to 242 pixels.