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

Different height of menu-entries


Poster: Norbert
Dated: Tuesday July 25 2006 - 15:27:36 BST

Hello,
I am testing the menu for our intranet.
In my menus, the height of topics are different wether there are urls behind them or not? Those with urls are a littlebit higher? Is there a way to avoid this?
My opinion: works fine in all other things.


Poster: Ruth
Dated: Tuesday July 25 2006 - 16:13:02 BST

Hello,

There should be no change with regard the height based on the presence of url=; in the menu_data. It is an internal telling the program to make the 'text' or image a link.

We need to see the page. Could you put up a test, or post the html, css, and menu_data.js files here so we can try making one.

What browser and OS has this problem?

You can also try putting in an itemheight, that can be done in the style, menu or item section.

Ruth

sorry and thanks for immediate reply


Poster: Norbert
Dated: Tuesday July 25 2006 - 16:44:37 BST

ok, I tried to give you stripped demo files and with them, I figured out, that our complex stylesheets are the reason! without them, it looks fine!
I have to figure out, what I can do.
maybe it's our strange
DIV {
PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}

that causes some trouble?


Poster: Ruth
Dated: Tuesday July 25 2006 - 21:24:34 BST

Hi,

OK, I've worked on finding what in a stylesheet causes things, usually it's generic codes, like margin, td, tr table etc.

The easiest way I've found to do it, is to remove lines at a time. For example, I'd remove the 1st line, save the sheet and see if that changed it. If not I'd leave that line out, and remove the next line and so on until I found which line did it. Then I'd put everything back except the line that seemed to do the change and see if that worked.

The reason for removing a line and not returning it, is that sometimes it's a combination of two lines that affect the item.

I hope that made sense. If yu could give the page I could try and find it. The one you posted shouldn't change the height of the menu, it almost seems as if it's a line that is putting padding in, not making it set at 0. Look for a line that has a generic setting for padding or margin. Usually the body{margin:0 etc, is not that line, but maybe a padding code in that might do it. But some generic code for padding or margin, like in the td, table, tr something like that.

Ruth