Centering my profile, wit DIV (cant seem to get it) |
Centering my profile, wit DIV (cant seem to get it) |
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 Any way to do this? Help much appreciated 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
|
|
|
|
![]() |
Apr 16 2009, 11:36 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 .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 Centering my profile, wit DIV (cant seem to get it) Apr 15 2009, 10:41 PM
Mike It's still private to me. Apr 16 2009, 04:41 AM
janthony I took it off
Help much appreciated Apr 16 2009, 11:07 AM
janthony Thanks, fixed it to center, thanks again, i unders... Apr 16 2009, 11:43 AM
Mike Alright, guess it's fixed since you put your p... Apr 16 2009, 02:51 PM![]() ![]() |