Posted By

createinside on 04/12/10


Tagged

div css height 100


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

scilec


100% div height


 / Published in: CSS
 

Sådan her laver du en div der fylder det samme som body

  1. position:absolute;
  2. width:100%;margin:0 auto;
  3. background:url('images/kasser_baggrund.png') no-repeat top center;
  4. min-height:100%;height:auto;
  5. /* Måske skal parent element også have height:100%; */

Report this snippet  

You need to login to post a comment.