LI menu background image not appearing till rollover

Giganews Newsgroups
Subject: LI menu background image not appearing till rollover
Posted by:  Andrew Poulos (ap_pr…@hotmail.com)
Date: Tue, 21 Mar 2006

I'm working with one of those vertical menus that use CSS and lists. The
menu is contained with a DIV (DIV.1) with a height of 100% that's within
an absolutely positioned DIV (DIV.2). DIV.1 has a background image at
"left bottom".

If I set a fixed height for the DIV.2 the image appears correctly but
if, as I need to do, calculate/set the height of the DIV.2 on window
load then the image doesn't appear till one of the menu items are rolled
over.

The image does, though, appear correctly in Firefox it's IE 6 that's the
problem. I've tried a variety of way to address the issue but none seems
to make any difference. Is there a way to get the image to appear correctly?

Andrew Poulos

Replies