You can remove the top border by setting the body's padding and margin to 0, like such:
body {
padding:0px;
margin:0px;
}
This will eliminate the whitespace above and to the sides of your menu.
题
I have a css problem. I would like the white border between the "end" of the screen away it really is against it.
Jsfiddle: http://goo.gl/KL5iYJ
解决方案
You can remove the top border by setting the body's padding and margin to 0, like such:
body {
padding:0px;
margin:0px;
}
This will eliminate the whitespace above and to the sides of your menu.
其他提示
I don't fully understand what you're asking, but I'm guessing this simple block solves what you are attempting to reach
body {
margin: 0;
padding: 0;
}
Put in your css:
html, body {
margin:0;
padding:0;
}