Setting menu Width AND Height on the SAME line???

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
Maze
Beginner
Beginner
Posts: 6
Joined: Tue Jul 16, 2002 5:18 pm

Setting menu Width AND Height on the SAME line???

Post by Maze »

In the "menu_array.js" file, regarding this line:

, // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)

How do you set both width and height on the same line?

If I wanted to set 100% width and 20px high on this line, how would I do it?

Would it be: 100; 20 or 100, 20 ??

Nothing I try seems to work. (I'm trying to glue the menu into a table cell)

Thanks to anyone who can answer this question! :D
The Hat
Advanced
Advanced
Posts: 10
Joined: Thu Jul 18, 2002 11:28 am
Location: London, England.
Contact:

How I did it!

Post by The Hat »

To get 100% and pixel size to match the menu, I just entered 1, I tried all the other combinations I could think of including , : ; "" & ,but none of them seemed to work.
Of all the things that I have lost, I miss my mind the most.
sbueffel
Advanced
Advanced
Posts: 22
Joined: Wed Jul 10, 2002 4:43 pm

Post by sbueffel »

What Andy means for that value is if you want to have the menu be 100% of the browser's width, put a value there. The value will be the height (in pixels) of the background color that the menu extends to the top and bottom of the menu height. Follow that? If you put a 1 there (the most common), the menu adds a background bar that extends to the full width of the browser (minus margin settings) plus it adds 1 pixel to the top and bottom of the menu. Set the value to 50 and you will see what I mean.
Post Reply