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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -