-2

I'm trying to make my child div to inherit the parents div height

I tried in my css:

height: inherit;
height: 100%;
min-height: inherit;
min-height: 100%;

live example

mpm
  • 20,148
  • 7
  • 50
  • 55
newbie
  • 1,884
  • 7
  • 34
  • 55
  • 1
    question that has been ask a thousand time,and has nothing to do with bootstrap. – mpm May 04 '14 at 10:28
  • See this: http://stackoverflow.com/questions/20773342/bootstrap-3-100-height-of-custom-div-inside-column – Iansen May 04 '14 at 10:29
  • the bootstrap css has nothing to do with it? – newbie May 04 '14 at 10:29
  • possible duplicate of [CSS 100% height with padding/margin](http://stackoverflow.com/questions/485827/css-100-height-with-padding-margin) – Ian Clark May 04 '14 at 10:41

1 Answers1

0

This is generally how I make DIVs to extend to full height:

  html,body { height: 100%; margin: 0px; padding: 0px; }
  .full { height: 100% }
Francisc
  • 393
  • 7
  • 16