Click to See Complete Forum and Search --> : pageborder?


smokingkills
04-03-2003, 05:04 PM
it's been a while since i've needed to remember this one, but aren't you able to remove the 'default' border that appears on a page?

i'll try and expllain if you don't understand what im talking about....

Say you make a page, with a 500x500 table on it. well when you look at the page, the table will be located in the top left hand corner of the browser window right? -- WRONG, theres a stinking border around it!! say i dunn, about 13ish pixels.. how gay is that!!! how do i remove it? i seem to remember there being an attribute for the <body> tag but im not 100% sure.

Any help would be cooool.

:)

eevailen
04-03-2003, 05:06 PM
to cover both browsers,
<body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

smokingkills
04-03-2003, 05:10 PM
Originally posted by eevailen
to cover both browsers,
<body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

thankyou ever so much, i knew it was something pretty simple, just wasn't in my damned html reference book.

thankyou!

eevailen
04-03-2003, 05:13 PM
:p
TOPMARGIN="0" LEFTMARGIN="0" is for IE
MARGINWIDTH="0" MARGINHEIGHT="0" is for netscape
incase you are wondering

smokingkills
04-03-2003, 05:15 PM
ah i guessed that anyhow. so is there any way of getting rid of the 'bottom' border on a page?

smokingkills
04-03-2003, 05:27 PM
i noticed if you have a table of height "100%" it margins the top aswell as the bottom of the page :(

eevailen
04-03-2003, 05:51 PM
hm, never knew there was a bottom margin, i think it just doesnt like you.