News:

Wondering if this will always be free?  See why free is better.

Main Menu

Unexplained padding above and below the page

Started by SubSane, July 07, 2006, 10:37:38 PM

Previous topic - Next topic

SubSane

Hi. So I coded the forum to match my site design, but a strange padding appeared above and below the page:

http://www.noiseland.net/forum [nofollow]

I edited the body tag in the index.template of the theme to this:

<body BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>

Yet it still appeared with that padding. Is there something else I should to get rid of that space?

unrelenting

Some of that padding stuff is in the style.css file as well.

Rudolf

#2
in your stylesheet
there is

body
{
background-color: white;
margin: 10px;
padding: 10px;
}

explains it all, remove the margin or set to 0
or replace with this if you want to remove only the top and bottom margin

body
{
background-color: white;
margin: 0px 10px;
padding: 10px;
}
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

SubSane

Awesome, thanks! I didin't even notice the css file.

Advertisement: