Luke Luke - 1 year ago 74
HTML Question

Dynamic HTML container between header and footer

I would like to transform my html structure and css that the navigations height is always enlarging dynamicly acording to the height of content. A short explanation will be: There should not be any gap between footer and the green navigation on the left.

Can someone give me some hints?

Answer Source

You can use javascript for dynamically getting the height of right section and then assign the same height to your green navigation on the left.

  var h = $('.content').height();
  $('ul#nav').height(h + 18)

The above code will work in your page

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