Menu size

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
jumborex
Beginner
Beginner
Posts: 9
Joined: Wed Jul 21, 2004 6:52 pm
Location: Milan (Italy)
Contact:

Menu size

Post by jumborex »

Sorry, but my trials continue and I have a huge number of things to understand better. Strange enough, I cannot find all answers in the FAQ, or in this Forum.

First question: having bought a license in which form I deserve a Support? This is not completely clear to me: thru this Forum or I have other possible ways?

Second question: Making a trial menu in my site, for the very first time all lines are compressed and apparently I cannot (or I do not know how) define a Menu Size, or better, a cell size!

http://www.cantodellasfinge.net/articoli/indextry.asp

This is the first Menu I try without any sub-menu. In all other occasions everything run much better:

http://www.cantodellasfinge.net/versi/dumas/
http://www.cantodellasfinge.net/cruci/c ... roll.shtml

Thanks for your collaboration
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Hi Jumborex,

Let's see if we can help you :D

For your dimensions use overall menu size:
menuwidth= ;
menuheight= ;

you can also use these for the item sizes either as one style or inside the item where you want one to be different:
itemwidth= ;
itemheight= ;

You don't need "quotes" for numeric values only in pixels, only use quotes when you have alpha or other characters, and never use quotes within an a menu item string. aI(....)

the size of the text and padding should be taken into consideration, it will grow beyond the size given if it is larger.

padding in your global style can also be given like this:
padding="1 3 1 1";
that is top, right, bottom, left.

Let us know if you need more help.

maz
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,
In addition to all that Maz gave you, keep in mind that your css style sheets can affect the menu, in particular generally defined a. links. In this case you have a.hover and a.active to have margin:-12px. The menu is assuming that value.

Ruth
User avatar
jumborex
Beginner
Beginner
Posts: 9
Joined: Wed Jul 21, 2004 6:52 pm
Location: Milan (Italy)
Contact:

Post by jumborex »

Ruth wrote:Hi,
In addition to all that Maz gave you, keep in mind that your css style sheets can affect the menu, in particular generally defined a. links. In this case you have a.hover and a.active to have margin:-12px. The menu is assuming that value.

Ruth
Right! This was the problem.

http://www.cantodellasfinge.net/articoli/indextry.asp

I didn't understand how important was to consider my css.
Thanks

But about the size how is it managed exactly?
For example, if I position the menu in the bottom, left part of the screen the menu appears bigger in rispect to the present position bottom, right!
Why this? If I do not use a dimensioning, why the dimension changes this way?
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Try removing quotes " " where you only have a number in pixels.

followscroll=1;
separatorsize=1;

I'm not sure... I see </div> at the bottom of the page, is that wrapped around the menu?

maz
Post Reply