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.
Unwanted extra space after positioning the Milonic menu.
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
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