How to set auto height for submenu

How to set auto height for submenu was created by sven-p

Posted 11 years 10 months ago #4156
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:11 years 10 months ago by sven-p
Attachments:
Last edit: 11 years 10 months ago by ced1870.

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

Replied by ced1870 on topic Re: How to set auto height for submenu

Posted 11 years 10 months ago #4157
Hi
are you using Chrome or Safari ?
Ced

Joomlack Webmaster and Developer

by ced1870

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

Replied by sven-p on topic Re: How to set auto height for submenu

Posted 11 years 10 months ago #4163
I'm using firefox, its equal in IE9.
by sven-p

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

Replied by ced1870 on topic Re: How to set auto height for submenu

Posted 11 years 10 months ago #4164
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

by ced1870
The following user(s) said Thank You: sven-p

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

Replied by sven-p on topic Re: How to set auto height for submenu

Posted 11 years 10 months ago #4168
Yes, that works. Is it possible to set it to "auto" as default?
Where can i set a margin between submenu items?

Thank you!
by sven-p

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

Time to create page: 0.659 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 863 guests and no members online