html - CSS - My div wont place in top left corner -
when i'm trying place header-div in top left corner, there white space between header-div , top, , left. how move div
corner?
body { width:100%; height:190%; } #header{ display:block; background-color: #1b1b1b; width:100%; height:50px; }
it seems struggling margin , padding.
try add margin
, padding
in body.
body { width: 100%; height: 190%; margin: 0; padding: 0; }
here demo.
Comments
Post a Comment