The hide methodology used here does NOT allow for default content to be imported back into the page.
IF you want to display any of the default page content (besides the ad banner) use my other strategy.
My other strategy can be found here:
Band Page Simple Div Overlay
The below will hide everything except the ad banner.
It does leave about 30px of extra space under the ad banner, which can be eliminated by using a negative top margin on your div.
<i class="off">!-Hide Everything except Ad Banner, remove most of the space-!
!-Code Author:Eileen <a href="http://spiff-myspace.blogspot.com">myspace code and tutorials</a>
</i>
<style>
{!-display custom div, replace myDiv with class of your custom Div-!}
table div.myDiv {visibility:visible !important; display:block !important}
{!-Ad banner-!}
div table div {visibility:visible !important; display:block !important; margin:0px !important; padding:0px !important; }
{!-most page content-!}
table table, table div, img, form {display:none !important}
div table div div select {height:0px !important; width:0px !important; padding:0px !important; position:absolute !important; }
div table.navigationbar {display:none;}
div table {visibility:hidden;}
table, tr, td {background-color:transparent}
</style>
Now if you want to do a div overlay you can put the code in any section.However you MUST take the div up to no more than one table deep.
i.e.
You can use the below code, and put it in any section:
<i class="off">! Div Overlay Shell to use after hiding everything more than one table deep.
author:Eileen <a href="http://spiff-myspace.blogspot.com">myspace code tutorials</a>
</i>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<div class="myDiv" style="height:auto; width:800px; border:1px black solid;">
Div Content in here
</div>
<table class="off"><tr><td>
<table class="off"><tr><td>
<table class="off"><tr><td>

8 comments:
i love this code because it's simple, but is there any way of revealing just the interests table using it?
hey! the coding worked for me but i cant submit it! it will just let me preview it.. so im kinda stuck
hey
i just want a code to hide all the tables and everything but i want to be able to put my own things own it. how can i do that?
hey
i just want a code to hide all the tables and everything but i want to be able to put my own things own it. how can i do that?
yes me too.....
If you want to remove the default content, so that you can place your own custom content, read this:
Band Page Div Overlay
I'm stuck 2!!!!!!!! Can you tell me what im doing wrong....i cant submit it, when i enter the code to preview it wont let me click submit.
email me at cheereyes2003@yahoo.com
For people who are stuck submitting, you have to edit the profile on safe mode. Goto Home page and click "safe mode" instead of "edit profile" and it should be there
How come when I use any divs.. or want to set images in the myDiv nothing shows up.. Only text and objects :|
Post a Comment