Dênis Fernandes Dênis Fernandes - 1 year ago 93
CSS Question

Making dropdown menu(absolute position) increase parent height

i have a regular menu, with 2 dropdown levels using


What i want to achieve is that these submenus increase the height of the parent element.
Just like the image below:
enter image description here
Somebody knows a way to do that? if possible using css only?

Thanks in advance

Answer Source



            var bigger=0;
            var offset=0;

            $(this).find(" li ul li:last-child:visible").each(function(i,elem) {
                offset = $(elem).offset().top + $(elem).height() - 120;



    }).mouseout(function() {



Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download