Solved

css - background rendering problem

Posted on 2004-09-08
2
271 Views
Last Modified: 2008-03-06
I am trying to create a website using only CSS2; no tables, etc.  I have encountered a few different problems, most of which I've been able to solve.  This one I am stumped on.

In Internet Explorer (Firefox seems to work fine), the background-color as set in BODY will sometimes only render to the last element of the page, and it will leave white for the remainder of the window (on short pages).

page is here:
http://coffeegeek.net/new

here are screenshots of the problem:

what it initially looks like when I encounter the problem
http://coffeegeek.net/bgBug1.gif

if i put a window in front the correct background gets draw on repaint:
http://coffeegeek.net/bgBug2.gif

if i hit Refresh or minimize/restore the window, it is the way i want:
http://coffeegeek.net/bgBug3.gif

it doesn't render this way in IE every time.  seems to be only the first time you go to the page in IE.  also, i have multiple color layouts (which can be accessed by clicking change colors in the nav), and this bug might only be happening with the green color scheme.  the color schemes aren't complete; i know they are ugly. :-)

thanks for the help,

~ Justin
0
Comment
Question by:newstandard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 125 total points
ID: 12008505
It is a known bug in IE6, that it will sometimes fail to render a background, or an image, but if the page is re-rendered from a resize or refresh it gets it right the second time.  We have been through it several times in the Browsers Issues topic, and I don't believe there has ever been a real solution.  I don't know if XP SP2 address the problem or not.

Cd&
0
 
LVL 4

Expert Comment

by:mrdilliard
ID: 12023199
Just a note--I have SP2, and no it doesn't fix it.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question