getting relative height prop to work with window resize CSS -


can me simple, supposedly easy, css task? i'm trying set div height resize window. have far:

div.signin { margin: 20px 20px 10px 40px; border-style: ridge; border-color: #006a89; min-height: 450px; height: 90%; width: 26%; min-width: 255px; padding: 10px 20px 10px 20px; line-height: 210%; float: left; } 

the width works fine, not height. there no other style working on div. can spot why?

try setting html , body height.

jsfiddle

html, body {     height:100%; } 

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -