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

Free Space on top


Poster: Neo
Dated: Tuesday October 14 2003 - 20:15:05 BST

My Page
I always have a huge space on top of my real webpage, when the menu_data.js is included. In my html code there's nothing about a free space on top. If i leave out the menu_data.js everything looks fine.
So i believe it's caused by the menu.


Poster: Hergio
Dated: Wednesday October 15 2003 - 2:21:50 BST

You can't have a CSS class called "menu".

Well, you can, but in it you have a couple variables set such as height set to 250px and your page looks offset by about that. Edit the names of your CSS styles or change whats in them. The word 'menu' is used by the Milonic DHTML Menu code and I believe its interpreting what you have defined in your CSS style called menu.


Poster: Neo
Dated: Wednesday October 15 2003 - 13:32:23 BST

I've learned something now.
First check your menu-data.js for not needed code. ;)
At an earlier time i showed the menu in a table cell, so there was the position="relative";
in my menu.
And i forgot to delete this line.
That was everything.
The name of CSS Classes doesn't matter for the menu, at least not inb this case.


Poster: Hergio
Dated: Wednesday October 15 2003 - 21:34:58 BST

Well alright then, glad to here it. I know the menu does use certain names for styles and such and it allows you to override things in the menu with certain well-named styles. It might not be menu, but mmenu as the class thats important. Oh well, either way, you figured it out and are well on your way to successfully working with the Milonic DHTML Menu.