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:15

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


Poster: rwfresh
Dated: Friday February 10 2006 - 17:24:24 GMT

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:
<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:
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;");
}


Poster: Ruth
Dated: Friday February 10 2006 - 17:44:18 GMT

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


Poster: Migru
Dated: Sunday February 12 2006 - 12:29:59 GMT

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