Log In · Register

 
 
Closed TopicStart new topic
URGENT HELP NEEDED
binnez
post May 16 2009, 10:38 AM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: May 2009
Member No: 728,488



hey guys, im new to the forum and im llooking forward to creating some awesome myspace layouts, but for the moment i need one thing,
i need to get this layout CENTERED..

when it is applied it goes to the left and leaved a large gap on the right...
i need it to be centerd.

here is the code to the layout::

THE CODE

ANY HELP WOULD BE MUCH APPREICATITED
thanks
 
Mikeplyts
post May 16 2009, 11:33 AM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Whenever you want to center something, use this method.

CODE
.CLASS_NAME {
position: absolute;
top:###px;
left:50%;
margin-left:???px;
width:###px;
height:###px;
}


Just replace ### with the appropiate values and for the ???, replace it with the value that is half of your div's width. wink.gif
 
tokyo-rose
post Jul 16 2009, 05:25 PM
Post #3


Senior Member
********

Group: Head Staff
Posts: 18,173
Joined: Mar 2005
Member No: 108,478



Topic Closed, and Moved to Myspace Resolved Topics. Please PM a moderator if you would like this reopened.
 

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