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

Unwanted extra space after positioning the Milonic menu.


Poster: rgrowar
Dated: Friday November 10 2006 - 13:30:03 GMT

Hi,

I am using the milonic menu for dynamic generation of menus in my application. I wanted a relative position for my menu and so have used the "position=relative" parameter and offset=0 for the top parameter as you can see in the following code:
with(milonic=new menuname("Main Menu"))
{
style=menuStyle;
screenposition="Center";
top="offset=0";
left="offset=223";
alwaysvisible=1;
orientation="horizontal";
position="relative";
--------
}

This places the menu a bit below than i want as can be seen in the following image:
http://220.227.238.52/milonic/Before_Positioning.htm

Changing the value of offset in the top parameter, i.e. setting top="offset=-62", moves the menu to the top of the page but leaves a blank row at the position where it showed up earlier as can be seen in the following image:
http://220.227.238.52/milonic/After_Positioning.htm

Any help to remove this unwanted space would be appreciated.

Thanks in advance.


Poster: Ruth
Dated: Saturday November 11 2006 - 23:49:46 GMT

Hi,

Well, I'm not real good at all the stuff you have but, the reason you have that space is that you are putting the menu in that cell and just because you're using a negative offset to move it up doesn't change the fact that it's in that cell. So, what you need to do is actually put it in that cell up above the BASIC item, then the cell it's in now disappears since nothing is in it, and the other part moves up.

Ruth


Poster: rgrowar
Dated: Thursday November 16 2006 - 9:57:11 GMT

Hi,

Thanks a lot for the help. It did solve the problem :)