Log In · Register

 
can someone help me with a div overlay???
luvDBSK
post Jan 24 2009, 12:22 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Mar 2008
Member No: 626,861



i just want to know if anyone knows how to center a div layout on myspace. right now its to the left and i want it centered. is that posible??
 
 
Start new topic
Replies
Mickey
post Jan 25 2009, 08:41 AM
Post #2


Treasure Pleasure
********

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



Look for this in your codes:

CODE
left:#px;

Wherever your see that, replace it with this:

CODE
left:50%;
margin-left:-#px;

Then replace the pound symbol with the appropriate amount of pixels to center your layout. Leave the minus sign to move things to the left. Take it off if you want to move things to the right. Make sure you do that for all the left properties you find. Once you've finished, your layout should be centered.
 

Posts in this topic


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