Website Tutorials
Recipes
Entertainment Reviews
Home Remedies
Game Codes and Cheats
MySpace Website Tutorials | Submited Nov 16, 2007
Written by: John
To hide everything on your profile
.text, .contactTable, .profileInfo, .userProfileURL, .interestsAndDetails, .userProfileDetail, table div div, table div font {display:none;}
table table div div, table table div font {display:inline;}
.background {position:absolute;
left:50%;
margin-left:-400px;
top:125px;
width:800px;
height: 900px;
background-color:black;
overflow:none;}
position:absolute;
means that it is positioning this layer exactly where you tell it too.left:50;
means that it will be from the center of the page, this is so it will look good in all browsers and screen size resolutions, DO NOT CHANGE THIS unless you absolutely KNOW what you're doing. and even then I dont think you would need to be reading this.margin-left:-400px;
means that it will be -400 pxs from the center of the page (400 pixels to the left). I have it at -400px so it will look good in all screen size resolutions. If someone has the 800 x 600 resolution and views your page, then if you have that number even smaller they will not see whats on the far left side of your page. If you want to move the layer to the right more, increase the number.top:125px;
means that this layer will be 125 pixels from the top of the page, with this setting, it will cover the existing navbar. If you dont want to cover it then increase the number to move it down some.width:800px;
means that this layer will be 800 pixels wide, you can change it to whatever number you feel would be necessary.height: 900px;
means that this layer will be 900 pixels high, you can change this to whatever you would like.background-color:black;
well yeah. you prolly know what background-color: means but I put this here because you need a background-image or color on your main layer or else everything else behind it will show through (unless you hide everything with the code below.overflow:none;
this tells the browser not to apply a scrollbar to that layer, if you would like a scrollbar on there just change it to auto instead of none.<div class="background">
EVERYTHING ON THAT LAYER
</div>
I wrote this tutorial over 2 years ago, and had it in a tester account on myspace ever since. It was a lot longer then, but the manual submit isnt needed on myspace anymore

1