css - Box model issue -
i play around layout , i'm having problem.
my header element pushed right top of container
http://codepen.io/anon/pen/cslkh
i'm missing cant think what!
i have set margin-top , it's still push top of container?
please guy's
your .header
has margin-top: 25px
which, due margin collapse, causes .container
move down.
instead of top-margin
, use padding-top
on .container
.
here's updated pen: http://codepen.io/anon/pen/pbvfi
Comments
Post a Comment