Background Image for 100% Width-Span menu (empty-space)

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
screenmates
Advanced
Advanced
Posts: 26
Joined: Tue Jan 23, 2007 3:35 pm

Background Image for 100% Width-Span menu (empty-space)

Post by screenmates »

How do I apply a background image for 100% width-span menu? What I'm trying to accomplish is to apply the same background image (bgimage) that I applied for menu-bar items to span across the width of the browser window. The background-image should apply (fill) for the space where there are no menu items on the right, too.

TIA
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

bgimage=; applies the bgimage to each item separately not the menu span. You are looking for menubgimage=; which will apply the background to the menu span. Could you please post a test page so I can see what you're trying to do? For example, menubgimage=whatever.gif; will not show if you have offbgcolor, onbgcolor or menubgcolor set, the colors take precedence. Now, if you want to apply a menu bg image and item bgimages then the only way to get the menu span image to show would be to have a margin set so it will show in margin area, I think. It's been so long since I've worked with all of them. Anyway, a test page with the images would help me figure out how to do it.

Ruth
screenmates
Advanced
Advanced
Posts: 26
Joined: Tue Jan 23, 2007 3:35 pm

Post by screenmates »

I solved the problem by using a <div> with a bgimage and height.

Thanks,
Post Reply