Re: Background Images and Colors in Tables in NS 7 Problem

by "Tim Rivera" <lists(at)timrivera.com>

 Date:  Thu, 21 Nov 2002 22:55:40 -0500
 To:  "Scott T. Norman" <scott(at)scottnorman.com>,
"Hwg-Style" <hwg-style(at)hwg.org>
 References:  scottnorman
  todo: View Thread, Original
> I'm having problems with this site in NS 7, www.sonicairsystems.com.
> The header on the page uses a table with CSS for the background
> image and for text coloring and alignment, works fine in IE 6 and
> Opera 6, but not working in NS 7 and not sure why.


This is a common question among web designer lists.

Your server is sending the style sheet as
"Content-Type: text/plain" when it should be
"Content-Type: text/css" to work correctly.

Have the server admin correct the mime type for .css files.


> Also any idea why Opera 6 doesn't flush the top and left margins.
>
> body {
> margin: 0px;
> }

Opera correctly uses 'padding' to control what is the padding of BODY.

body {
 margin: 0;
 padding: 0;
}


Tim

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA