Robert Jones schrieb:
> Stressed newbie here, seeking help with page that displays fine in IE but
> doesn't in Netscape 6. On this page,
>
> http://www.slumbersounds.com/tellafriend.htm
>
> note "Tell your friend about the music" area near bottom. In IE, it's the
> sizeI want and has an attractive black border. In Netscape, the area resizes
> itself larger, has no black border, and loses the light purple background in
> places. I've horsed around with this for the last 3 hours, but can't fix it.
> (I'm a complete Netscape Newbie).
>
> If any friendly guru out there can tell me what to do or point me in the
> right direction so as to make Netscape's display look more like Internet
> Explorer's, I'd be grateful. Happy 4th!!
You are specifying an HTML4 Transitional Doctype, but your markup isn't
HTML 4 Transitional. There are quite a few markup errors in your code,
which means that you didn't validate your code against the referenced
Doctype.
Additionally, your Doctype will trigger "quirk" mode in Netscape 6,
which might be the reason why this style rule isn't applied to your
table:
<TABLE border="0" cellpadding="7" cellspacing="0" style="border: 2px
solid #000000" height="187">
In Netscape 4 you couldn't set borders to the TABLE element, and my
guess is that's what NN6 does in quirk mode.
The culprit regarding the background colors in your table seems to be
this here:
<TR bgcolor="#DDDDFF" align="center">
You simply can't assign a bgcolor to a TR element. It's not valid HTML,
and no browser other than IEX will even bother to do anything with it.
Someone else already mentioned that the values in your stylesheet need
units.
Basically, I'd suggest you take a look at the HTML specification
<http://w3.org/TR/HTML4/>, and also the CSS specification
<http.//w3.org/TR/CSS2/>, and validate both your HTML and your CSS at
<http://validator.w3.org/> or <http://htmlhelp.com/tools/>. Once your
markup and stylesheet are valid, you can start worrying about actual
browser bugs.
BTW, love the colour scheme and the overall look and content of the
site. But why is the babymassage e-book an .exe file? I'm interested in
the subject, but with all the warnings we get about virus and trojans
etc. I'm not going to download a 2.54MB large .exe file from an (excuse
me!) unknown source.
Matthias