Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1812 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Myspace Help

Thread title: Myspace Help
Closed Thread    
    Thread tools Search this thread Display Modes  
04-18-2007, 07:33 PM
#1
ValKros is offline ValKros
ValKros's Avatar
Status: Junior Member
Join date: Apr 2007
Location: New York City
Expertise:
Software:
 
Posts: 59
iTrader: 0 / 0%
 

ValKros is on a distinguished road

Send a message via AIM to ValKros Send a message via MSN to ValKros Send a message via Yahoo to ValKros

  Old  Myspace Help

How do i center the layout in myspace?

If you want the code, here it is:

Code:
<style type="text/css">

form>img#googleTLogo
{
	background-image:url(http://x.myspace.com/images/powered_by_google_white.png);
background-repeat: no-repeat;
margin: 0 auto;
}

#googleTLogo
{
	vertical-align:bottom;
	width:120px;
	height:30px;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://x.myspace.com/images/powered_by_google_white.png', sizingMethod='image');
}

</style><style type="text/css">div table td font {display: none;}</style><style type="text/css">
table, td {background-color:;
border:none; border-width:0;}
body{background-image:url("http://i13.tinypic.com/2hgwqb8.jpg");
background-attachment: fixed;
background-position: left bottom;
background-repeat: repeat; 
background-color: ffffff;}
table table{border:0px;}
table table table table{border:1px;}
{table & border attributes} 
table table table {border:1px solid; border-color:black; padding:0; width:250; height:20; background-color:; }
table tbody td table tbody tr td.text table{background-color:;}
}table table{border:1px;}table table table table{border:1px;}
table table{border:1px} 
table table table table{border:1px}
font, td, a, body, table, body, td, li, p, div, textarea, li, h1, h2, p, br {font-family:small fonts; color:000000; font-size:5pt; text-transform:uppercase; letter-spacing:0px;}
textarea, input {font-family:small fonts; font-size: 7px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: uppercase; padding: 0px; line-height: 10px;}
.btext {font-family:small fonts; font-size: 7px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: uppercase; padding: 0px; line-height: 10px;} 
.blacktext10 {font: normal 5pt small fonts;text-transform:uppercase; 
color:000000;background-color:transparent; width:100%; text-align:right; text-decoration:underline; border:0px solid; border-color:black;} 
.blacktext12 {font-family:small fonts; font-size:5pt; color:000000; line-height: 11px; letter-spacing:0px; font-weight: normal; text-transform:uppercase;background-color:none;} 
.lightbluetext8 {font:normal 7px small fonts; width:75px; text-align:center; text-transform:uppercase;} 
.nametext {font-family:arial; font-size: 23px; color:black; font-weight: none; text-decoration: normal; letter-spacing: -2px; text-transform: lowercase; padding: 0px; line-height: 15px; background-color:69A0D3; display: block} 
.orangetext15 {display:none;} 
.redtext {font:normal 7px small fonts; color:000000; width:50px; text-align:center; text-transform:uppercase;} 
.redbtext {font:normal 7px small fonts; color:white; width:50px; text-align:center; text-transform:uppercase;} 
.text {font:normal 7px small fonts; color:000000; line-height:10px; text-transform:uppercase;}
.whitetext12 {font:normal 7px small fonts; color:000000; line-height:10px; color:000000; text-transform:uppercase;} 
.text {font-family:small fonts; font-size:5pt; color:000000; font-weight: normal;t ext-transform:uppercase;} 
.whitetext12 {font-weight: bold; color:000000; font-family:verdana; font-size: 9px; letter-spacing:-1.5; text-transform:lowercase;}
a:link, a.man:link, a.text:link, a:visited, a.man:visited, a.text:visited, a:active, a.redlink:active, a.redlink:visited, a.redlink:link, a.navbar:link, a.navbar:visited, a.navbar:active {font-family:small fonts; font-size:5pt; color:000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform:uppercase; line-height: 10px; background-color: transparent;}
a:hover, a.man:hover, a.text:hover, a.redlink:hover, a.navbar:hover {font-family:small fonts; font-size:5pt; color:000000; font-weight: normal; text-decoration:underline; letter-spacing: 0px; text-transform:uppercase; line-height:10px; background-color:none; border:0px solid; border-color:transparent;}
b, stong 
{font-weight:bold;font-size:5pt;line-height:10px;text-transform:uppercase;color:ffffff;letter-spacing:0px;font-family:small fonts;}
img { filter:none; border:1px;}
a:link img { filter: none; border:0px solid black;}
a:hover img { filter:none; border:0px solid black;}
body {cursor:default ;}
a:hover {cursor:default;}
TD TD {text-align: center;}
TD TD TD {text-align: center;}
TD TD TD TD {border-top: 0px solid; width: 1%; text-align:center;}
TD TD TD TD TD {border-top: 0px solid black; text-align:center;}
TD TD TD TD TD TD {border: 0px solid;}
TABLE, TD {padding: 0px; text-transform:uppercase; width:290px;}
TABLE TABLE {padding: 0px; text-transform:uppercase;}
TABLE TABLE TABLE {padding: 1px; text-transform:uppercase;height: .01%; width: 100%;}
TABLE TABLE TABLE TABLE {padding: 0px; text-transform:uppercase;}
TABLE TABLE TABLE TABLE TABLE {padding: 0px; text-transform:uppercase;}
TABLE TABLE TABLE TABLE TABLE TABLE {padding: 0px; text-transform:uppercase;}
table td div div font {visibili-ty:hidden;di-splay:none;}
table table table table {border: 0px; text-align: justify; padding: 0px;} 
table table table table table {border: 0px; text-align: justify; padding: 0px;} 
table table table table table table {border: 0px; text-align: justify; padding: 0px;} 
table table td.text table td.text table table tbody td table, span.btext {display:none !important} 
<style> a:hover img{ filter: progid:DXImageTransform.Microsoft.Pixelate (maxsquare=3); cursor:crosshair;}</style><style type="text/css">
.blogbody i, .standard i, p i, i{font-family:small fonts; font-size: 7px; color:000000; font-weight: italic; text-decoration: none; letter-spacing: 0px; text-transform: uppercase; padding: 0px; line-height: 10px;}</style><style type="text/css">
.blogbody u, .standard u, p u, u {font-family:small fonts; font-size: 7px; color: 000000; font-weight: underlined; text-decoration: underlined; border-top: 0px solid 000000; border-bottom: 1px solid 000000; letter-spacing: 0px; text-transform: uppercase; padding: 0px; line-height: 10px;}</style><style type="text/css">
.blogbody b, .standard b, p b, b {font-weight: bold; color:000000; font-family:verdana; font-size: 9px; letter-spacing:-1.5; text-transform:lowercase;}</style><style type="text/css">
.blogbody s, .standard s, p s, s {font-family:small fonts; font-size: 7px; color:white; font-weight: strike; text-decoration: strike; letter-spacing: 0px; text-transform: uppercase; padding: 0px; line-height: 10px;}</style><style type="text/css">
	body, html {visibility:visible !important; display:block !important}
</style>                    Layout Provided By CodeMyLayout.com -<a href="http://www.CodeMyLayout.com" style="position:absolute; top:0px;background-repeat:no-repeat;left:0px; height:155px; width:155px; background-image:url(http://images.codemylayout.com/images/banners/cmpanim1.gif); background-position:left;"></a><a href="http://www.CodeMyLayout.com">Myspace Layouts</a>

04-19-2007, 09:41 PM
#2
daz is offline daz
Status: I love this place
Join date: Jun 2005
Location: UK
Expertise:
Software:
 
Posts: 562
iTrader: 5 / 100%
 

daz is on a distinguished road

Send a message via MSN to daz

  Old

Your code is a mess. Wrap the layout in a div #container (not sure if you can do this, dont use myspace) and put in the css
Code:
#container {
         margin: 0 auto;
}

04-20-2007, 06:33 AM
#3
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

For daz's solution to work make sure the container div has a width specified.

04-20-2007, 08:53 AM
#4
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

It's not possible to add a wrapper, since HTML/CSS can only be placed in a certain part of the page.

I've no idea where your code's going. So I can't really offer a solution.

The page should be centered by default anyway.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed