Re: background-image with strict DTD?

by Andrew McFarland <aamcf(at)aamcf.co.uk>

 Date:  Tue, 19 Feb 2002 22:07:44 +0000
 To:  <hwg-style(at)hwg.org>
 In-Reply-To:  mit
  todo: View Thread, Original
At 14:11 19/02/02 -0700, Ann Ezzell wrote:
<snip/>
>the background image that I specify this way disappears (IE 6):
>
>#content.homepage {
>  background: white;

First suggestion - change this line to

background-color: white;

It might make a difference, it might not. Makes it easier (for me) to read 
thought :-)

>  background-image: url("biz_bar.jpg");
>  background-repeat: no-repeat;
>  height: 625px;
>  }
>
>Do I have to go with a transitional DTD to get a background image in a DIV?

You shouldn't have to, no. Is the page valid HTML? Is the CSS valid? Could 
you post a URL for us to look at?

Andrew

--
http://aamcf.co.uk/

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