Help - Search - Members - Calendar
Full Version: Help with white background.
Forums > Resource Center > Support Center > MySpace Support > Myspace Resolved Topics
dorotalp91
How can I add in a white background over only the content section of my layout?

like in here

http://www.createblog.com/layouts/code.php?id=26152

the background is a graphic but there is a black background over the contents

thanks in advance. <3 biggrin.gif
manny-the-dino
Moved to Myspace Support

I'm pretty sure this is more of a coding question instead of a graphic question so I moved it there. I would help but I don't know anything about coding. pinch.gif
miguelS
In that example, the tables are all transparent, and the background is styled so that it looks that way.

Here's the background.
dorotalp91
QUOTE(shortis221 @ Jan 26 2009, 12:52 AM) *
In that example, the tables are all transparent, and the background is styled so that it looks that way.

Here's the background.


well then id like something like that but the background is there not just styled.
miguelS
Use this:

CODE
<style>
table, tr, td {background-color:transparent; border:0px;}
table table {background-color: black;}
</style>
dorotalp91
QUOTE(shortis221 @ Jan 26 2009, 01:49 AM) *
Use this:

CODE
<style>
table, tr, td {background-color:transparent; border:0px;}
table table {background-color: black;}
</style>



sorry it doesnt work :[
miguelS
Something on your page is conflicting then.
Link to your page.
carnageedesigns
well you could send me your graphic and i can do it for you?
Mickey
Try using this code:

CODE
<style>
body {background-image:url("URL"); background-position:center; background-repeat:repeat; background-attachment:fixed; text-align:center;}
table, tr, td {background-color:white; border:0px;}
table {margin:0 auto; text-align:left; width:800px;}
table table {width:auto;}
</style>

Replace URL with the url of the background you want to put in the back of the white table.
tokyo-rose
Topic Closed, and Moved to Myspace Resolved Topics. Please PM a moderator if you would like this reopened.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.