Page borders in HTML

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
[n00b]
Forum Commoner
Posts: 34
Joined: Sat Mar 20, 2004 7:06 pm

Page borders in HTML

Post 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 ;)
leenoble_uk
Forum Contributor
Posts: 108
Joined: Fri May 03, 2002 10:33 am
Location: Cheshire
Contact:

Post 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;
}
[n00b]
Forum Commoner
Posts: 34
Joined: Sat Mar 20, 2004 7:06 pm

Post by [n00b] »

heh, you was too fast thanks! :D
Post Reply