PDA

View Full Version : gap at top of page (dw default)


shynomi
10-05-2005, 01:11 AM
hi is there a way to get rid of the small gap at the top of a page?

http://www.ynbnw.com ('http://www.ynbnw.com')

it's at the top there's a gap. thanks in advance guys!

domedia
10-05-2005, 02:02 AM
All pages have some margins set by the browser as default.
You can remove it by adding 2 lines to your CSS:
body {
background-color: #000000;
margin: 0;
padding: 0;
}

In the above code I also removed the background property. If you don't have a background image for the body tag, there's no reason to have that line with an empty value.

shynomi
10-05-2005, 03:26 AM
thank you!