Page 1 of 1

Page borders in HTML

Posted: Wed May 19, 2004 5:23 am
by [n00b]
Hello
I have a stupid question for you :P

When I insert a table in Dreamweaver (and set it to autostretch), there are always some gaps on the top, left and right side of the page. I mean, the content is always around 15pixels aways from the borders of the window (like here in phpdn). But check this site:
http://www.zerokspot.com/forums/

The content is right after the windows borders and there are no gaps on the top, left or right.



Sorry for my bad English ;)

Posted: Wed May 19, 2004 5:28 am
by leenoble_uk
In Dreamweaver open the page properties window and set the margins to 0.

Alternativley you can set the margin and padding of the body tag in the stylesheet:

body {
margin:0px;
padding: 0px;
}

Posted: Wed May 19, 2004 5:31 am
by [n00b]
heh, you was too fast thanks! :D