Top Padding on Safari

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
erik_c
Advanced
Advanced
Posts: 10
Joined: Thu Dec 08, 2005 11:06 pm

Top Padding on Safari

Post by erik_c »

I have a multi-frame page that works fine in all browsers except Safari. When I open a menu in Safari, it positions some of the menus with some padding on the top, so the user can't easily mouse to the menu. The far-left menu looks right, so I'm not sure what the difference is between it and the others.

I have set up a basic example at http://fs2.formsite.com/prods/milonicTest/
erik_c
Advanced
Advanced
Posts: 10
Joined: Thu Dec 08, 2005 11:06 pm

Post by erik_c »

I have found the issue with this. Safari wants to render milonic's subimage parameter even if it isn't there.

with(menuStyle=new mm_style()){
...
//subimage="/images/arrow.gif";
//subimagepadding="0";
}

When I change those lines to:
with(menuStyle=new mm_style()){
...
subimage="/images/1x1clear.gif";
subimagepadding="0";
}


Safari will render the menu in the proper position. IE and Firefox do it right no matter what, but Safari seems to be leaving a placeholder for the subimage.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You could try removing the parameter for the subimage from your style since you are not using it. If it's not there then Safari shouldn't try and leave a space for it.

Ruth
Post Reply