How to set auto height for submenu

More
14 years 4 months ago - 14 years 4 months ago #4156 by sven-p
hello,
i created a submenu inlusive a description for some item. Now, subitems are higher than their container. In source code on down droped menu I see the following:
Code:
<div class="floatck" style="width: 630px; height: 125px; left: auto;">
Where can I set height?

See the menu here: ladak.sven-p.de/

Thank you for answering!
Last edit: 14 years 4 months ago by ced1870.

Please Log in or Create an account to join the conversation.

More
14 years 4 months ago #4157 by ced1870
Hi
are you using Chrome or Safari ?
Ced

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
14 years 4 months ago #4163 by sven-p
I'm using firefox, its equal in IE9.

Please Log in or Create an account to join the conversation.

More
14 years 4 months ago #4164 by ced1870
ok, right.
You can increase the value you have given for div.floatck :
div.floatck {
min-height:150px !important;
}

it should work. I think the issue is because you have written multiple lines in the description. SO you can also change the height to min-height here :
/* item description */
div#maximenuck span.descck {
display : block;
text-transform : none;
font-size : 1em;
text-decoration : none;
min-height : 12px;
line-height : 12px;
float : none !important;
float : left;
}

Ced

Joomlack Webmaster and Developer
The following user(s) said Thank You: sven-p

Please Log in or Create an account to join the conversation.

More
14 years 4 months ago #4168 by sven-p
Yes, that works. Is it possible to set it to "auto" as default?
Where can i set a margin between submenu items?

Thank you!

Please Log in or Create an account to join the conversation.

Time to create page: 0.208 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 5455 guests and no members online