Log In · Register

 
div's won't show?
x_MiChElLe_xo
post Aug 14 2006, 11:34 PM
Post #1


Senior Member
***

Group: Member
Posts: 30
Joined: Jan 2005
Member No: 93,105



This is in about me:
QUOTE
<style type="text/css">
table table,table table table table,table table{background-color:transparent;width:300px;border:0px;}
div,table,tr,td,th{background-color:transparent;text-align:center;border:0px;}
a.navbar,font,.whitetext12,.btext,.orangetext15,.redbtext,.redtext,.blacktext12,
lightbluetext8,strong,.blacktext10,.nametext,div b font font, div font font u,table table table table, table table table table td.text, td.text td.text table,table.contacttable{display:none;}
div table form tr td,td.text table,a.text, table div font a, table div div,{visibility:hidden;di-splay:none}
td.text table table {display:inline; visibility:visible;}
embed{position:absolute;top:0px;left:0px;display:block;width:0px; height:0;}
</style>
<style>body{background-color:000000;}</style>


<style>
.divskullsbg {
width:800px; height:600px; overflow:auto;
position:absolute; z-index:1; left:50%; top:50%;
visibility:visible;
background-image: url(http://img.photobucket.com/albums/v326/SweetAzSuga40/6a9c4791.png);
margin-left: -395px;
margin-top: -50px;
}
</style>

<style>
.divskullsbase {
width:468px; height:533px; overflow:auto;
position:absolute; z-index:2; left:50%; top:50%;
visibility:visible;
background-image: url(http://img457.imageshack.us/img457/5807/divskullsbase2eu5.png);
margin-left: -395px;
margin-top: -50px;
}
</style>


and this is in music:
QUOTE
<div class="divskullsbg">
</div>
<div class="divskullsbase">
</div>




Site:
http://profile.myspace.com/index.cfm?fusea...a3-3dcbdc554f94

Why won't the DIV's show?
 
 
Start new topic
Replies (1 - 9)
freeflow
post Aug 14 2006, 11:41 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Your divs are empty, so they shouldn't show untill you put content in them. mellow.gif

After you do that and if they still don't show take out htis line
div table form tr td,td.text table,a.text, table div font a, table div div,{visibility:hidden;di-splay:none}
 
x_MiChElLe_xo
post Aug 14 2006, 11:41 PM
Post #3


Senior Member
***

Group: Member
Posts: 30
Joined: Jan 2005
Member No: 93,105



Alright I'll try that, thanks. I just thought they should work because I put the image in the background, and I made it the right width &stuff...
 
freeflow
post Aug 14 2006, 11:45 PM
Post #4


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Nope. You need content in them for them to show.
 
x_MiChElLe_xo
post Aug 14 2006, 11:53 PM
Post #5


Senior Member
***

Group: Member
Posts: 30
Joined: Jan 2005
Member No: 93,105



I'm sorry, I still can't get this to work.


<style>
.divskullsbg {
width:800px; height:600px; overflow:auto;
position:absolute; z-index:1; left:50%; top:50%;
visibility:visible;
background-image:url(http://img.photobucket.com/albums/v326/SweetAzSuga40/6a9c4791.png);
margin-left: 50px;
margin-top: -50px;
}
</style>

<div class="divskullsbg">
<img src="http://img.photobucket.com/albums/v326/SweetAzSuga40/6a9c4791.png">
</div>


Is something wrong with this?
 
freeflow
post Aug 14 2006, 11:57 PM
Post #6


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Don't use margins and percents just a note for you in the future. It screws it up in some browsers. Use:
CODE
<style>
.divskullsbg {
width:800px; height:600px; overflow:auto;
position:absolute; z-index:1; left:50px; top:150px;
visibility:visible;
background-image:url(http://img.photobucket.com/albums/v326/SweetAzSuga40/6a9c4791.png);
}
</style>

<div class="divskullsbg">
<img src="http://img.photobucket.com/albums/v326/SweetAzSuga40/6a9c4791.png">
</div>


Then replace this code:
CODE
<style type="text/css">
table table,table table table table,table table{background-color:transparent;width:300px;border:0px;}
div,table,tr,td,th{background-color:transparent;text-align:center;border:0px;}
a.navbar,font,.whitetext12,.btext,.orangetext15,.redbtext,.redtext,.blacktext12,
lightbluetext8,strong,.blacktext10,.nametext,div b font font, div font font u,table table table table, table table table table td.text, td.text td.text table,table.contacttable{display:none;}
div table form tr td,td.text table,a.text, table div font a, table div div,{visibility:hidden;di-splay:none}
td.text table table {display:inline; visibility:visible;}
embed{position:absolute;top:0px;left:0px;display:block;width:0px; height:0;}
</style>


With this;
CODE
<style type="text/css">
    table, tr, td {background:transparent;}
    table table table table, table table table table td.text, table.contactTable {display:none;}
    td.text table, .orangetext15 {visibility:hidden;}
    td.text table table {display:inline; visibility:visible;}
    td.text td.text table {display:none;}
    div b font font, div font font u {display:none;}
.whitetext12 { display: none; }
.nametext { display:none;}
</style>


Then it will work.
 
x_MiChElLe_xo
post Aug 15 2006, 12:02 AM
Post #7


Senior Member
***

Group: Member
Posts: 30
Joined: Jan 2005
Member No: 93,105



But it still doesn't work?
http://profile.myspace.com/index.cfm?fusea...a3-3dcbdc554f94
 
freeflow
post Aug 15 2006, 12:23 AM
Post #8


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Because you didn't add this part to the bottom of about me or i'd like to meet. mellow.gif
CODE
<div class="divskullsbg">
<img src="http://img.photobucket.com/albums/v326/SweetAzSuga40/6a9c4791.png">
</div>
 
x_MiChElLe_xo
post Aug 15 2006, 12:31 AM
Post #9


Senior Member
***

Group: Member
Posts: 30
Joined: Jan 2005
Member No: 93,105



No, I definitely, definitely, did.
[edit]
I had it in About Me and moved it to Who I'd Like To Meet and it works! Thankyou very much for all your help.
 
freeflow
post Aug 15 2006, 12:42 AM
Post #10


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Great. If you need anymore div help I'm here. thumbsup.gif
 

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