Log In · Register

 
Centering my profile, wit DIV (cant seem to get it)
janthony
post Apr 15 2009, 10:41 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Apr 2009
Member No: 724,195



www.myspace.com/jackrew_jeezy


Ok, on my profile, i've created it how i want, still in-complete, but will be done soon


So anyway, when the page loads, the profile begins from the left, i want it to start from the center if thats possible????

You know, like when someone goes to my profile, it begins in the center and not the left side of the profile page thumbsup.gif


Any way to do this? Help much appreciated whistling.gif

Lol, un-privated now, lol, sorry about that
Reason for edit: Posts merged. Please don't double post; the "edit" button is there for a reason. Thanks. -Nat
 
 
Start new topic
Replies (1 - 5)
Mickey
post Apr 16 2009, 04:41 AM
Post #2


Treasure Pleasure
********

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



It's still private to me.
 
janthony
post Apr 16 2009, 11:07 AM
Post #3


Newbie
*

Group: Member
Posts: 5
Joined: Apr 2009
Member No: 724,195



I took it off

Help much appreciated
 
Mickey
post Apr 16 2009, 11:36 AM
Post #4


Treasure Pleasure
********

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



Look for this in your codes:

CODE
.layout {
position:absolute;
overflow:auto;
top:1px;
left:1px;
background-color:transparent;
border:0px;
}

Replace it with this:

CODE
.layout {
position:absolute;
overflow:auto;
top:1px;
left:50%;
margin-left:#px;
background-color:transparent;
border:0px;
}

Replace the number sign of the margin-left property with the appropriate amount of pixels. Do the same for all your DIV classes. If you want the DIVs to be organized from top to bottom instead of side by side, make the margin-left value the same for every DIV and mess around with the top value according to your liking. If that's not what you're looking for, clarify your question and/or provide a visual of the goal you're trying to reach. Thanks.
 
janthony
post Apr 16 2009, 11:43 AM
Post #5


Newbie
*

Group: Member
Posts: 5
Joined: Apr 2009
Member No: 724,195



Thanks, fixed it to center, thanks again, i understand now tongue.gif
 
Mickey
post Apr 16 2009, 02:51 PM
Post #6


Treasure Pleasure
********

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



Alright, guess it's fixed since you put your profile back to private. Topic closed & moved.
 

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