Position Relative Menu in <td></td> Adding space

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rwfresh
Beginner
Beginner
Posts: 2
Joined: Fri Feb 10, 2006 6:15 pm

Position Relative Menu in <td></td> Adding space

Post by rwfresh »

Hi All,

I have a menu inside a <td></td> The contents of the main menuitem is an image rollover. I need this cell to pull tight against the cell to the right of it.
I notice in IE (6.0.2900) there is space added to the right of the menu.
this creates whitespace inside this cell and breaks my design.

It renders fine in the latest FireFox. I've tried everything i can think of. Is this fixable? If not i need a new menu and just bought a license of milonic.
Poor me.
-----------------------

Code: Select all

<td style="height:28px; width:108px;"><script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
margin=0;
itemwidth=108;
menuwidth=108;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("url=company_overview.html;align=right;imageheight=28;imagewidth=108;imagepadding=0;
itemwidth=108;padding=0;margin=0;
image=images/nav/CorpNav_Company.gif;
overimage=images/nav/CorpNav_Company_over.gif;imagealign=right;showmenu=Company;");
}
drawMenus();
</script></td>
<td style="height:28px; width:1px;"><img src="images/nav/CorpNav_seperator.gif" alt="sep"></td>

Code: Select all

with(menuStyle=new mm_style()){
bordercolor="";
borderstyle="";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="";
onbgcolor="";
oncolor="";
padding=0;
margin=0;
pagebgcolor="";
pagecolor="";
separatorcolor="";
separatorsize=0;
subimage="";
subimagepadding=0;
}

with(milonic=new menuname("Company")){
style=menuStyle;
aI("text=Overview;url=company_overview.html;");
aI("text=Company Profile;url=company_profile.html;");
aI("text=Management Team;url=company_management.html;");
aI("text=Careers;url=company_careers.html;");
}
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

If you have a link it would be better, otherwise we need the html and any css in order to try and create a page and see what's happening. I'm sure it's fixable, I've seldom seen anything that isn't.

Ruth
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

Please, the properties

top=155;
left=200;

according to my information, should not be used in a table cell, relative positioned menu ??
Take them out and try again.

Michael
Post Reply