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!
background images extend beyond the boundaries of the table
background images extend beyond the boundaries of the table
Last edited by cubefree on Thu Jul 15, 2004 11:08 pm, edited 2 times in total.
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
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

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
... reusing an inadvertant reply...
Yep, Andy that fixes it!
Yep, Andy that fixes it!
Last edited by cubefree on Fri Jul 16, 2004 7:27 pm, edited 1 time in total.
The problem is with the way Netscape 7.1 is loading images.
When I add the http://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
When I add the http://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