can someone help me with a div overlay??? |
can someone help me with a div overlay??? |
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??
|
|
|
|
![]() |
Jan 24 2009, 06:24 PM
Post
#2
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Here's a cleaner, clearer code for you to use:
CODE <style> .layout {position:absolute; height:250px; width:250px; top:500px; left:50%; margin-left:-500px;} </style> Replace both 250's in the height and width properties to edit its size then replace both 500's in the top and margin-left properties to edit its position. For the margin-left bit, make sure you leave the minus sign alone unless you want to move it towards the right of your page. |
|
|
|
luvDBSK can someone help me with a div overlay??? Jan 24 2009, 12:22 PM
interpretation Moved to MySpace Support.
Please post topics in t... Jan 24 2009, 03:08 PM
9001 Post your code.
And maybe stay online when you po... Jan 24 2009, 03:09 PM
PeRRiiN this is how you center a Div no matter whats the r... Jan 24 2009, 04:42 PM
luvDBSK QUOTE(PeRRiiN @ Jan 24 2009, 04:42 PM) th... Jan 24 2009, 10:51 PM
PeRRiiN lol,
thats the same code i posted but with values... Jan 24 2009, 07:03 PM
PeRRiiN you're welcome =] Jan 24 2009, 10:52 PM
luvDBSK okay i dont know what im doing but heres the code ... Jan 24 2009, 10:59 PM
9001 QUOTE(luvDBSK @ Jan 24 2009, 09:59 PM) ok... Jan 24 2009, 11:22 PM
PeRRiiN can you post the link to your myspace please, i wa... Jan 24 2009, 11:18 PM
Mike Look for this in your codes:
CODEleft:#px;
Wh... Jan 25 2009, 08:41 AM
luvDBSK QUOTE(PeRRiiN @ Jan 24 2009, 11:18 PM) ca... Jan 25 2009, 11:57 AM
Mike Replace your About Me codes with this:
CODE<p... Jan 25 2009, 12:26 PM
luvDBSK QUOTE(Mike @ Jan 25 2009, 12:26 PM) That ... Jan 25 2009, 01:25 PM
Mike No problem. Topic closed & moved. Jan 25 2009, 02:51 PM![]() ![]() |