Help - Search - Members - Calendar
Full Version: Why isn't this centered?
Forums > Resource Center > Support Center > MySpace Support > Myspace Resolved Topics
GunsNRachel
I always code it like this,but for whatever reason it's way off center. Am I having a blond moment or something?

http://profile.myspace.com/index.cfm?fusea...endID=280854437

CODE
<style>
Body {
background-color:005B77;
background-image:url(http://i42.tinypic.com/vepv86.png);
background-attachment:;
background-position:top left;
background-repeat:repeat;

scrollbar-arrow-color:;
scrollbar-face-color:;
scrollbar-track-color:;
scrollbar-shadow-color:;
scrollbar-darkshadow-color:;
scrollbar-3dlight-color:;
scrollbar-highlight-color:;}


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

b {
font-family:;
color:F281A2;
font-weight:bold;
font-size:;}

i {
font-family:;
color:D6E59F;
font-weight:bold;
font-size:;}

u {
font-family:;
color:70CBF3;
font-weight:normal;
font-size:;
text-decoration:underline;}

big {
font-family:;
color:D88DC2;
font-weight:normal;
font-size:;
letter-spacing:;}

.navbar{
display:none;}

h1 {
color:70CBF3;
text-transform:uppercase;
letter-spacing:-1px;
font-family:arial;
font-size:16;
text-align:center;
display:block;}

.heading{
background-color:ffffff;
border:0px;
border-color:000000;
border-style:solid;
position:absolute;
width:800px;
left:50%;
margin-left:-400px;
top:70px;
font-family:;
color:;
font-weight:normal;
font-size:;
letter-spacing:;}


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>
Melie
ok, you have the image of the books in your "who i'd like to meet" section so you have to give it it's own div and give it specific pxs for the location. it's positioned where "who i'd like to meet" would be.
GunsNRachel
I have no idea what you're talking about =\
Melie
LOL...ok, just do this:

copy and paste this code in "about me". edit the XX with the exact height and width of the image.
CODE
<style>
books{
width: XXpx;
height: XXpx;
left:50%;
margin-left: -400px;
top:0%;
margin-top:0px;}</style>


copy and paste this code in "who i'd like to meet"
CODE
<div class="books">
<img src="what the url of the books image"></div>
GunsNRachel
Now I'm getting an error?
wwwww
Terms of service violation.

It thinks you're trying to hide the ad.

Rape MySpace for making customization impossible.
Melie
are you using profile 2.0?
Mickey
^No, she isn't. GunsNRachel, what's the link of the image you're using?
GunsNRachel
http://s5.tinypic.com/t7opvq.jpg
GunsNRachel
Alright so I went back and started to recode the whole thing, and I got it to work, but for whatever reason it's down on the page farther than I want it to be. And when I change the top px, it doesn't change it's position. Any clue why?
GunsNRachel
Sorry, brain fart hahah

CODE
<style>
body {
background-image:url('http://i42.tinypic.com/i27cas.png');
}

b {
font-family:;
color:D6E59F;
font-weight:bold;
font-size:;}

i {
font-family:;
color:F281A2;
font-weight:bold;
font-size:;}

u {
font-family:;
color:D88DC2;
font-weight:normal;
font-size:;
text-decoration:underline;}

big {
font-family:;
color:FFF39C;
font-weight:normal;
}

h1{
color:70CBF3;
text-transform:uppercase;
text-size:16;
text-align:center;}

heading{
width:800px;
position:absolute;
left:50%;
margin-left:-400px;
top:10px;
}





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>
GunsNRachel
Thanks!
Mickey
Topic closed & moved.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.