MyBB Community Forums

Full Version: CSS issues with body
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just started a new forum and am currently customizing it.

Before I added the individual forums, I had the perfect gradient for the "body" css, the smooth gray-to-white body fade you see here:

[Image: tb1.jpg]

I added individual forums, and for some reason the gradient was pushed down:

[Image: tb2.jpg]

Can anyone help me with the right CSS to prevent the gradient from being pushed down? I want the forum to look exactly as it was before the individual forums were added.

This is the current CSS on "body", in global.css. Everything is default except for the background url.

body {
background: url("http://mywebsite.com/the-gradient.gif") center repeat-x;
color: #000;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
line-height: 1.4;
margin: 0 20px 20px;
}
Try this:
body {
 background: url("http://mywebsite.com/the-gradient.gif") center top repeat-x;
 color: #000;
 font-family: Verdana, Arial, Sans-Serif;
 font-size: 13px;
 line-height: 1.4;
 margin: 0 20px 20px;
 }
It is now perfect -- thank you Harest!