Thread: Layout Question
View Single Post
Old 2009-07-29, 01:37 PM   #2
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Your problem is that most browsers put a thin margin all around the edge of the page. You can get rid of it by placing:
marginwidth=0 leftmargin=0 marginheight=0 topmargin=0
in the body tag (or just zero the particular attributes you want zeroed). However be aware that this effects the ENTIRE page, so text will start right on the edge of the page (the first letter of every line will touch the frame of the browser). Since I have only ever used this when the page is one big table I get round it by having a margin round cells with text in them. I am guessing that if you are not using tables that there is some trick you can do with style sheets to avoid the text touching the edge, but I am not good at style sheets, so I'll have to let someone else offer a solution that way.
ecchi is offline   Reply With Quote