MyBB Community Forums

Full Version: Make the container transparent
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I think this solution is the easiest. It worked for me.

Here is what my container looks like:

#container {
width: 98%;
color: #000000;
border: 0px solid #e4e4e4;
margin: auto auto;
padding: 10px;
text-align: left;
}

That makes the container transparent but the body then shows through. So this is what I have for body:

body {
color: #000;
text-align: center;
line-height: 1.4;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
}

Note that neither has a background line. That is what makes them "transparent'. Since the container and body background are now gone, I widened the forum a bit by reducing the padding to 10px and increasing the width to 98%.
(2011-11-06, 07:34 PM)Chevelle Wrote: [ -> ]I think this solution is the easiest. It worked for me.

Here is what my container looks like:

#container {
width: 98%;
color: #000000;
border: 0px solid #e4e4e4;
margin: auto auto;
padding: 10px;
text-align: left;
}

That makes the container transparent but the body then shows through. So this is what I have for body:

body {
color: #000;
text-align: center;
line-height: 1.4;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
}

Note that neither has a background line. That is what makes them "transparent'. Since the container and body background are now gone, I widened the forum a bit by reducing the padding to 10px and increasing the width to 98%.

The thread is nearly 5 months old. Can I ask why your bumping it?
Pages: 1 2