When attempting to create a navbar, I encountered small gaps that seemed impossible to close. Adjusting margins only resulted in new gaps appearing on the opposite side. Even when trying to find a compromise, I ended up with gaps on both sides instead. It appears that achieving a seamless upper area coverage with my navbar is proving to be quite challenging.
If you'd like to see an example of the issue:
http://jsfiddle.net/Vk5Md/3/
To address the gap at the top, I had to modify the body with margins. Is there a different approach to resolving this?
body {
background-image:url('../images/subtle_grunge.png');
background-repeat:repeat;
margin-left: 4px;
margin-right: 0px;
margin-top: 0px;
}
I'm aiming for a navbar design similar to Stackoverflow's, where there are no visible gaps between the address bar, the browser's left side, and the scroller on the right.