Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:19

background images extend beyond the boundaries of the table


Poster: cubefree
Dated: Thursday July 15 2004 - 5:52:45 BST

Using v5.32 NS7 Win2K

http://cubefree.com/clients/star/dev/star/

The first time I load this page in Netscape 7, the background image goes outside the boundaries of the menu -- even with menuwidth=202 and I've even put itemwidth=202 for all aI()s for the menu. See the table labeled "STAR Points and Tools".

In any case a reload quickly normalizes the table. Any clue as to what would cause that? and fix it?

It spills outside the width by 24px -- I was expecting 16 (2 x the padding // set at 8 ).

FYI... It still happens even if removing links to CSS files.

Thanks!


Poster: Ruth
Dated: Thursday July 15 2004 - 10:02:58 BST

I can't figure out what's causing the behavior. It's doing it in Netscape 6, and Firefox also. If you look close what it is doing is beginning to repeat the background, that's why the right border looks darker and wider, it's as if it thinks there is an open space of about 14px it has to fill on the right. Nothing I tried stopped it, changing the padding, putting in margin=0 and so on. I don't know if there is a way to put in a no repeat x code somehow to see if that will stop it [I think it's X, maybe y also :lol: heck that's something to do with math and horizontal and vertical axes, what do I know about math!] Anyway, perhaps Andy will have a look, or one of the guys who has more knowledge of the menu's insides.

I wanted to tell you I really really like that site, I love how the menus function, the star with the different colors and the matching mouseover menus [even with the extra on the right] and then the others that pop up when you mouseover those. Very, very nice.

Ruth

Re: background images extend beyond the boundaries of the ta


Poster: cubefree
Dated: Thursday July 15 2004 - 23:07:19 BST

... reusing an inadvertant reply...

Yep, Andy that fixes it!


Poster: Maz
Dated: Friday July 16 2004 - 6:42:57 BST

For a guess, any chance something is picking up lineheight from body or img from css...

maz


Poster: Andy
Dated: Friday July 16 2004 - 10:56:09 BST

The problem is with the way Netscape 7.1 is loading images.

When I add the http://www.milonic.com/preloadmenuimages.js module it fixes it. The reason for this is due to the fact that the image is already in the cache so the menu knows it's size.

What I can't quite figure out is why it only happens with one menu.

Anyway, adding the preloadmenuimages module will fix things.

Hope this helps
Andy