Web Hosting Talk







View Full Version : remove page margins on the lite skin..


ub3r
05-21-2005, 04:14 PM
Remove the 2px page margins from the sides of every page.

change:

<body text="#000000" vlink="#000000" link="#000000" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" rightmargin="2" marginheight="2" marginwidth="2" bottommargin="2">

to:

<body text="#000000" vlink="#000000" link="#000000" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" rightmargin="0" marginheight="0" marginwidth="0" bottommargin="0">

change:

BODY {
background: #FFFFFF;
margin-bottom:2px;
margin-left:2px;
margin-right:2px;
margin-top:2px;
padding: 0px;
SCROLLBAR-BASE-COLOR: #666666;
SCROLLBAR-ARROW-COLOR: #FFFFFF;
}


to:


BODY {
background: #FFFFFF;
margin: 0px;
padding: 0px;
SCROLLBAR-BASE-COLOR: #666666;
SCROLLBAR-ARROW-COLOR: #FFFFFF;
}


Also, Opera uses the css padding specification to control page margins. So, if it weren't for the html you used in <body>, your margins would appear differently in all browsers.


But, it would look alot better if you just ditched the page margins. So please, remove them.

Kerry Jones
05-21-2005, 07:46 PM
you mean the blue bars on the side?

ub3r
05-21-2005, 07:48 PM
no, i'm talking about the white space before the blue bar.

HostingInsider
06-11-2005, 07:55 PM
Its just 2 pixels, does it really matter?

ub3r
06-11-2005, 08:05 PM
it's ugly.

dollar
06-12-2005, 03:47 AM
Tape the edge of your screen up.