Website Tutorials
Recipes
Entertainment Reviews
Home Remedies
Game Codes and Cheats
MySpace Website Tutorials | Submited Dec 16, 2007
Written by: Mr. ∃v¡l
Notes;
basically...
.Wrap{
position:absolute;
left:-50%;
margin-left:-400px;
top:140px;
}
<div class="Wrap">
</div>
.relativeDiv{
position:relative;
top:10px;
left:250px;
width:300px;
background-color:555555;
margin-top:5px;
border:3px solid;
border-color:333333;
}
<div class="relativeDiv">
</div>
in the end

<style type="text/css">
table table table, embed, .navigationBar{visibility:hidden; margin-top:-37182px;}
table table table div{visibility:visible;}
table tr td div div a.text u,
table tr td div div a u{display:none}
table, tr, td{background-color:transparent; border:0;}
body{background-color:000;}
*{color:000!important; font-family:Arial Narrow!important;}
.37182{position the main div that holds the other divs}
.Wrap{
position:absolute;
top:140px;
left:50%;
margin-left:-400px;
}
.37182{
this is the div thats relatively positioned
note: left:50% is not needed with position:relative;
}
.relativeDiv{
position:relative;
top:10px;
left:250px;
width:300px;
background-color:555555;
margin-top:5px;
border:3px solid;
border-color:333333;
}
</style>

<div class="Wrap">
<div class="relativeDiv">
This is positioned according to wherever it's placed in the code. :)<br /><br />
now I need to take up space =/ now I need to take up space =/ now I need to take up space =/ now I need to take up space =/ now I need to take up space =/ now I need to take up space =/ now I need to take up space =/ now I need to take up space =/ now I need to take up space =/ now I need to take up space =/
</div>
<div class="relativeDiv">
this one is right below the other one. woo!
</div>
</div>
never mind ![[lol] [lol]](/forum/imgs/smilies/lol.gif)
1