Log In · Register

 
Why is my background not showing up?
GunsNRachel
post Nov 23 2008, 04:14 PM
Post #1


Senior Member
****

Group: Member
Posts: 292
Joined: Jul 2007
Member No: 545,047



GR! Everything is right, but the background on this part of the code isn't showing up right:

CODE
.content{
background-color:white;
top:495px;
width:800;
position:absolute;
left:50%;
margin-left:-400px;
font-family:arial;
color:black;
font-weight:normal;
font-size:12;
text-align:left;}


CODE
<div class="content">
<h1>Hello, I love you.</h1>
<p>this is where I write cool shit</p>
</div>


(This is only part of the code, it is in style tags and all that fun stuff)

What it looks like: http://profile.myspace.com/index.cfm?fusea...endid=280854437
 
 
Start new topic
Replies (1 - 5)
Mickey
post Nov 23 2008, 06:16 PM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Replace your first code with this:

CODE
.content{
background-color:FFFFFF;
top:495px;
width:800;
position:absolute;
left:50%;
margin-left:-400px;
font-family:arial;
color:black;
font-weight:normal;
font-size:12;
text-align:left;
display:block;
}
 
GunsNRachel
post Nov 23 2008, 07:02 PM
Post #3


Senior Member
****

Group: Member
Posts: 292
Joined: Jul 2007
Member No: 545,047



That didn't fix it =\
 
Mickey
post Nov 24 2008, 04:26 AM
Post #4


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



It's because you have a code that makes all your DIVs not have a background. Replace everything in your About Me with this:

CODE
<style>
Body {
background-color:FDE2DF;
background-image:url(http://i38.tinypic.com/wam3qe.png);
background-attachment:;
background-position:top left;
background-repeat:repeat-x; }

body, td, li, p, div, textarea, br, p {
font-family:arial;
color:black;
font-size:12;
Line-height:;
font-weight:normal;
letter-spacing:;}

b {
font-family:arial;
color:7A2410;
font-weight:bold;
font-size:;}

i {
font-family:arial;
color:7A2410;
font-weight:bold;
font-size:;}

u {
font-family:arial;
color:7A2410;
font-weight:normal;
font-size:;
text-decoration:underline;}

big {
font-family:arial;
color:7A2410;
font-weight:normal;
font-size:;
letter-spacing:;}

h1 {
color:FFEAEA;
text-transform:uppercase;
font-family:arial;
font-size:16;
text-align:center;
display:block;}

.header {
top:110px;
position:absolute;
left:50%;
margin-left:-359;
}

.content{
background-color:FFFFFF;
top:495px;
width:800;
position:absolute;
left:50%;
margin-left:-400px;
font-family:arial;
color:black;
font-weight:normal;
font-size:12;
text-align:left;
display:block;
}

div div table div {display:none;} .clearfix table div div {display:block;}
div td, div tr, div table {background-color:transparent !important;}
.profile, div ul {display:none !important; }

td td embed, object, pram, embed{height:0; width:0; position:absolute; left:350; top:340;}

.nametext,
.lightbluetext8,
.orangetext15,
.blacktext12,
.btext,
.whitetext12,
.contacttable,
.redtext,
.redtext,h2{display:NONE;height:0px;visibility:HIDDEN}
td td td td{border:0px;width:0px;text-align:LEFT;}
table,td,tr{padding:0px;width:;background-color:TRANSPARENT}
table table table{padding:1px;height:0%;width:100%;}
table table,table table table table,table,tr,td{height:0PX;border:0PX;}
a.text,table div font a,table div div,.navbar font,tr td font{visibility:hidden;display:none;height:0px;!important;}
table table table table,table table table table td.text, td.text td.text table{display:none;}
td.text table table{display:inline;visibility:visible;}
table td table tr td.text table{visibility:hidden;}
table td table tr td.text table table,table td table tr td.text table table td.text{visibility:visible;}
</style>

That should fix it.
 
GunsNRachel
post Nov 24 2008, 06:29 AM
Post #5


Senior Member
****

Group: Member
Posts: 292
Joined: Jul 2007
Member No: 545,047



Oh duh, hahah. Thank you!
 
Mickey
post Nov 24 2008, 06:39 AM
Post #6


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



No problem. Topic closed & moved.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: