Friday, May 18, 2007

Eliminating Excess White Space

Eliminating Excess White Space on your MySpace Page

A lot of the queries hitting my various myspace blogs are looking to remove white space.
Some want to remove the space between the tables.
Others have whitespace issues, like a bunch of extra white space at the bottom of the page.

To remove the extra space between the main tables do this:
<style>
{!- control amount of space the Carriage Return creates between main tables-!}
table table br {line-height:2px}
{!- undo above effect within main content tables -!}
table table table br {line-height:10px;}
</style>
Adjust the line-height values until you have what you want. The first one will control the distance between the main content tables, by setting the height of the carriage return.
Most (not all) of the space is caused by Carriage Returns.
The next one will control the height of a carriage return within the main content tables.

If you have a bunch of extra white space at the bottom, the solution depends on the cause.
Some likely causes:
1) Use of relative movement up, without adjusting the bottom margin.
If you have anything in your code like this
position:relative; top:900px
(the 900 could be any number)
And you do NOT also have this: margin-bottom:-900px
It will cause a 900px whitespace problem at the bottom.
i.e. you should have
{position:relative; top:900px; margin-bottom:-900px}

2) Use of {visibility:hidden}.
This renders the element invisible, not gone.
Try using
{display:none}
it will render the element gone.
But be careful.
This only works if you do NOT want to render visible, and item within the element.

i.e. if I render
table.profileInfo {display:none}
I can NOT then do this:
table.profileInfo td img {display:block}

However if I render
table.profileInfo {visibility:hidden}
I can then do this:
table.profileInfo td img {visibility:visible}

But if you are hiding an entire section, and do not want to display anything within that section, use {display:none}

I Have code for hiding most page elements, that eliminates the space the element occupied.
See my index.

If you do not want to dig through your code, to find the code you used to hide something, and you want to remove the space the item left behind, you can add code to eliminate the space.

Now that each of the main content table is in its own class (the calendar being the only exception) they can be very easily hidden.
i.e.
<style>
table.ClassName{display:none !important}
</style>
Use the above block and replace ClassName with the name of the class, for the section you want to remove.
You can find all the classes Page Layout
About a third down the page is a picture of the page, with all the classes color coded.
To the right is a key, and each class is listed there.
The diagram shows the area you will remove if you use the above code block for that class.

If you use the code I have to remove all the space between the tables, and then remove all the tables, one would think the page would be completely empty.
But there is some other junk in there, some table cells at levels higher then the main content which have nothing but maybe a border or background, and maybe a clear gif inside.
To really eliminate everything see Removing all of the myspace page content

114 comments:

Anonymous said...

shit yeh :D

Anonymous said...

amazing. it actually works! xD

Anonymous said...

wow, it works!

rubes said...

hiii i'd really like some help. i've got a cm or so gap of white at the bottom of my profile and i've checked everything up there and my code seems okay. i can't use that thing to pull the lines together - although it does work - because i'm using your code for blog headings and it messes them up. is there anyway i can just close the cells under that are causing the white gap or somethinggg. anything would help :)
xx

Eileen (aka Coboble) said...

rubes,
It may not be a cell causing the extra space, it may be carriage returns.

Did you remove the bottom links?
Did you use code which just hides, or code which removes the space?

If it is carriage returns, and you don't want to remove them, you can put a negative bottom margin at the end of the comments, and that may do the trick.

table.friendsComments {margin-bottom:-30px;}

(make sure it goes in a style block)

If it is caused by the way you removed the bottom links try this:

table div {display:none;}
div table div,
table table div {display:block;}

(make sure it goes in a style block).

rube said...

it is almost definitely carriage returns :) because the code you used for taking out space in between the tables does work - but it messes my blog headings and extended network banner up because i've pushed them all together.
those codes don't work :(
thanks for your help!

BELLA BIOHAZARD said...

nothing is working :{.......

click.

it's because of the image and i dont want to get rid of it so then how do i get rid of the annoying white space?

jess said...

THAAAAANNNNNNKKKKKYYYYYYOUUUUUUU

xokendallxo9 said...

OO FUCK YEA!
this works soo good
i wanted to make
my page look really short and have like nothing
on it but there waswhite space problem
and this worked :p

nayyyy:) said...

ive tried everything you said, but nothing has worked. ive got around 15cm of blank space at the bottom. ive hidden everything except my about me and my heroes section.
please helppp:)

Mell. :]] said...

hii. :)

haha ii dont ge any of this codee stuff but ii really want this white part gone.

but ii dnt get it.

cant ii likee give yuu mii mypacee email + password & yuu do it.?

lol.

im hopeless at thiss.
can yuu help mii in any wayy.?

taa.x

Anonymous said...

Thank you so much! My problem was with the margins, and it never occurred to me that maybe that was the problem... It really, really helped :)

Anonymous said...

=[ i understood all that and everything but i need to remove the empty space ABOVE my page where i hid all the other stuff....i dont want a vertical scroll bar, i think they are ugly and it wont go away. i need help.

Eileen said...

I think they are ugly too.

Try this:
prepare for div overlay

the first code block, in that article, removes almost everything, including a lot of white space.

If stuff is really removed properly, one can eliminate all the space between the top menu area, and the bottom link area.

Tiffy said...

YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHH.
Holy shit. I'm in love with you. :)

Anonymous said...

heyah thanxxx

Anonymous said...

thankks(:

Anonymous said...

It doesn't work on my page...
Actually I jz put banner on my page...
I think the code of the banner left a huge white space on bottom of my page....
U can see it here

Can someone help me out?

Anonymous said...

hi, i have extra space at the end of my page, and i do not know what type of words/code i have to replace in a certain code. could you please tell me what i should put into it?? thanks.

Anonymous said...

hi, i have extra space on the bottom of my page and i do not know how to get rid of it. can you tell me what to put and where? because i do not know what i should write and where to put it. thanks.

hiyafriend65 said...

hi, i have extra space on the bottom of my page and i do not know how to get rid of it. can you tell me what to put and where? because i do not know what i should write and where to put it. thanks.

Penny said...

can someone help me remove the white space on the bottom of my page? and there is a stupid lil box with nothing in it under my profile pic. how do i get rid of that?

email me.
la0ze9r1@gmail.com
and i will give my codes to look at. thx!

Anonymous said...

oh my goshhh!
thank you so much!!!!!!!!
ur a doll:)

Anonymous said...

here's my problem:

i have a truth box & between that & the about me is a really big space.

how do i get rid of it ?

Anonymous said...

FINNALLY!!
thanks alot.

Anonymous said...

thank youu!!

Jason said...

thanks this is great.

any idea how to get rid of the 'clear' gifs? if i hide them i just hide every image in the main table. =[

jason

u∃∃l!∃ said...

Yes, I explain how to remove the clear gifs, and restore the rest of your images, here:
Click here

u∃∃l!∃ said...

To everyone who said thank you

Your are very welcome.

Jason said...

thanks!

kenzie. said...

thanks so much.
it reallyy worked.
=D

Samuel Rowe said...

Is there any way of hiding the extra white space that surrounds the music, about me ect tables? it makes my space look a bit lame

www.myspace.com/supericemansam

Cheers

Anonymous said...

I have empty white space above my interestes etc. where I have hidden my default picture. Is there anyway to remove the white space?

Anonymous said...

Fuckinggggggg awesome
thanks sooooooo much, you rock, keep doing these, your the best! they actually work!!

=D

ashleyy said...

ugh. im sure this works just fine but i guess im not doin it rite. lol. im soo slow. but thnx anyways. that white stuff is soo annoying

ashley said...

YESSS. thank you sooo very much! i finally got it to work! the code works perfectly. i just had to delete another code that i had added to try to eliminate this prob. KUDOS!

=]]

Anonymous said...

u fucking shit head u messed up my profile bitch

Anonymous said...

thanks you so so so much. i spent hours looking for something that would actually work!! ily.

Anonymous said...

i used all of them & none of htem works.
i still have space on the bottom of my page.

u∃∃l!∃ said...

Without actually seeing a page, and knowing what is causing the space, all I can do is guess the cause, and make suggestions.

It works for some, but not for all.

Anonymous said...

i really need help.
go here http://answers.yahoo.com/question/index;_ylt=Atl7WExRBzBFOL3dK4xcsnnsy6IX;_ylv=3?qid=20080713184200AANFuZq to read what i need help with and for the link to my myspace.

u∃∃l!∃ said...

I answered you over on yahoo questions.

Anonymous said...

thanks for helping me over on yahoo answers.
one thing though. how do I get the scroll box to be back the way it was(normal)? Right now its turned around, the scroll bar is on the left side, when it should be on the right. what do i remove to fix that?
url: www.myspace.com/sarah_324

thanks!

u∃∃l!∃ said...

That is because it came up a few levels, putting it at the same level you did a direction:rtl on.

So now you have to add this to your command that does the ltr

table table div

You already have a ltr command, right after your rtl command, just add to it.

or you can add a new line within the style block

table table div {direction:ltr}

I think it looks cool backwards.

Anonymous said...

thanks! i think it looks kinda cool backwards too. i just asked cuz i havent decided which way i want it yet. thanks!

Anonymous said...

i need some help..i've tried different things that my friends have told me about but its not working..i put an extra table on my page and i tried changing the table size but it still leaves extra space..
Click
Could you help?

Anonymous said...

on the bottom of my profile www.myspace.com/sarah_324 these country links suddenly appeared. how do i hide them?

Hevv. said...

Trippin'!
It's works, :D



...Well, i think everyone else has made that obvious. XD

Dazzle said...

I'm pretty sure my problem is with the use of relative movement up, because I have this in my profile. I have position:relative; top:-10px but when I try to change it to {position:relative; top:-10px; margin-bottom:10px} my tables move too far up the page. Can anyone help me with this please?

Anonymous said...

I would like some help for this one,

www.myspace.com/lethalelectro

see the extra white space on the top and bottom

how the hell do i get rid of that shit?

Anonymous said...

on my profile myspace.com/sarahann324 i put in a snapvine player in the bottom of the scrollbox. Its floating at the top of the scrollbox and blocking my about me. How can I get it to go to the bottom of the scrollbox?
My profile should be public.

Thanks!

Anonymous said...

omg you really helped me!
i have been looking to get rid of extra space on my profile.
THANK YOU SO MUCHHH !

Anonymous said...

Wow!! thanks! thats just made my day lol
awesomeeee xxxxxx

Anonymous said...

THANK YOU SO MUCH! I have been trying so hard to figure out my white space issue and you solved it! PLUS it actually works! :D I LOVE YOU! WOAH, THANKS AGAIN.

Zoe said...

it doesn't work for me because im not using an already made layout i have made my myspace white with a background image around the edges apart from the bottom because of the white space... can you please help?
if so thankyou

Anonymous said...

Wahh it works ^__^ But it leaves just 1 more inch of white space.
Erghh is there another code for that inch of white space? I want it to be aligned with my about me thats all. Thanks !

Anonymous said...

Just wanted to add one more thing;
is anyone going to answer me =___=
LOL, thanks ..
-Anonymous K

Anonymous said...

ahhh! :D
it works yo XD
thanks!

Anonymous said...

Any way to get rid of the white box between the tables and background of groups?

chelsea said...

Usually Im pretty good with layouts but ive been slacking lately.

as many of the people above me i have that horrid white space. and ive tried lots of things. ive tried yours too. maybe im doing something wrong?

heres a link:
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=47548494


IM SOOO ANGRY. I need help :[

You can contact me via myspace, thats the easier way for me. thank you!

u∃∃l!∃ said...

Your profile is on private I can not even look at it.

nicole said...

hm...i read everything and did everything u said to do,but i still have a lot of extra space i dont want.
this is it

Anonymous said...

this code isnt workin!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!what do i do?ugh

Anonymous said...

this isnt working!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!what do i do?ugh

Anonymous said...

I LOVE YOU :)
thanks soo much ahaha

Anonymous said...

THIS SHIT DOESNT WORK!!

i didn't hide the bottom links. why the fuck do i have a white space below it???
can you help?

u∃∃l!∃ said...

These are suggestions, there are multiple potential causes of white space.

If you want help you need to
1) don't call my stuff shit
2) leave a link to your page.

Raina said...

i've hidden everything except my profile pic and my about me and theres like a stretch of my layout at the bottom and for some i cant remove it, and this code didnt work for some reason.

raina said...

im not sure if its on private, but heres my page:
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=165153071

Anonymous said...

THANK U

Anonymous said...

omg omg omg THANK YOUUU ! :DDD

Anonymous said...

your shit don't work. i just wanted to keep the cc and make the white space behind it transparent and your code messed everything up.

u∃∃l!∃ said...

This type of code, is suggestions.
So many different things can cause this type of problem.

If this code messes up your page, don't use it.

Latay said...

Sooo i dont get it & i def need help PlEASE. My Page isnt Blocked Heres My Url:
http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=424710288

If you could message me on there or email:
Meadows3434@hotmail.com

Anonymous said...

Hey im a little confussed at the moment i cant seem to find anything im looking for on this site bvut you still maybe able to help me on my profile..... link for it > http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=205226815

if you have a look u can see the big white gap at the bottom .. how do i get rid of that.. Please help me .Thanks sarah

Anonymous said...

wow. i am so confused.
i need a better explanation.
make it easier?

meggles said...

hellppp me!
I changed my codes from visibility:hidden to display:none
but i have accidentally deleted my profile picture!
somebody help!
thanks :)

u∃∃l!∃ said...

When you ask this kind of question, you really need to post a link to your profile.

Anonymous said...

heyy so i have a bunch of extra white space at the top of my myspace, and can't seem to figure out how to get it to go away even with your codes. help please?
:]

url: http://myspace.com/miaisrandom

Anonymous said...

thank youuuu =) works like a charmm

<3

myspace.com/misz_masha_boo

Anonymous said...

hey iv tried the codes an i cant seem to get it to work i have way to much excess white at the bottom of my profile is there some way you could help me out?

myspace.com/missaqotbooty

Priscilla Marie said...

OMG IT WORKS! YOUR AMAZING! thank you so much!
its been a big pain trying to figure it out!

Anonymous said...

i need help... i removed the navigation bar and ad and now i have a big gap at the top of my profile and i want to remove it....

Anonymous said...

ahh its not working' wpuld you be able to come take a look at my myspace nd help me out pls.

heres my url : http://www.myspace.com/shevysosexy

u∃∃l!∃ said...

Is it the whitespace that is to the right, that you want gone?

Based on looking at your profile, I really think it is a good idea for you to switch to myspace 2.0

It is really pretty easy to do something like this:
Profile showing only status and blurbs, all centered

First I hid everything except the blurbs and the profileInfo area using the built in hide functionality.

Then I added style code to hide everything in the profileInfo area except the status, and to move the status to the center of that space.

The Blurbs naturally centers itself, if it is the only thing left in that space.

The width is easily set.

It is also easy to hide all of the remaining headers, such as blurbs, about me, and meet.

Let me know if this is what you are wanting to do.

u∃∃l!∃ said...

As for the person who removed the ad, just be patient, and eventually your profile won't have any extra white space on it.

Anonymous said...

thxx so much


you guys are the reason why myspace has so many fans,


keep helpin out(:

Anonymous said...

shit yeah it workssssssss ;)

Anonymous said...

Ahhhh, this is the only thing that's worked!
Thank you!! :)

Kjalvalr said...

Hey, I have the a.text, table div font a, table div div (visibility:hidden;) Code to hide the myspace Links at the Bottom, but when I change it to (display:none), it moves a Banner I have at the Top down, and I am having a hard Time relocating it. Is there a Code that would color the Square black?

Anonymous said...

THANK YOU SO MUCH! it works!!! :D

Anonymous said...

i love you.
WILL YOU MARRY ME ?!?!? (:

u∃∃l!∃ said...

I don't think so.

But maybe,
Are you single?
Kind?
Have depth of thought?
Do you like Lego?
Mushy drama Movies?
The Coast?
Porch Swings?

Anonymous said...

Hey, not sure if you can help me, but I'm having problems with an extra space between lines of text. If i type enough, the lines wrap around but if I want to make my own break
its giving me an extra space. Here's the link: http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=454069629

Thanks!! Mandy

Anonymous said...

never mind that last comment, i just figured it out. of course as soon as i asked someone for help i got it on my own! irony.

Mandy

symown said...

omg these work great

nikki said...

holy mother of fudgee!
i looooove you!
:D

thisworksgreatt.
:)

exactly what i needed! said...

this worked so greatly!

thank you so much!
:D

Kirazilla; said...

Hey;
I'm having some issues.
I had my page all the way I wanted, nice and small, and neat.
There was an extra space under my profile picture, so I decided to make a little heroes collage.
Problem is, when I put the collage in, all this extra space appeared instead of neatly fitting in as I'd expected.
Heres a screenshot:
http://i137.photobucket.com/albums/q213/wolfgirl1125/myspacescreenshot.jpg?t=1240972644
Do you think you could help me?

Anonymous said...

omg it works!! you're the best!!!

ดูหนังออนไลน์ said...

Why I dont work eh?

Anonymous said...

wow, that, didnt work AT ALL!

Anonymous said...

hii i really need your help,
your codes work exept that they push my myspace up into the navigation bar. is there a code that can remove the white space at the bottom without pushing it up into the nav bar??
thanks:)

Anonymous said...

heyy, your code were really helpful but they didnt work for me:(
i've looked everywhere to delete the massive white space at the bottom but theres not code for it. could you please take a moment of your time to see whats wrong with my profile: www.myspace.com/annettegdl
thanks soooo much
xx

Anonymous said...

ssO?

it kinda wOrked buhh i still have
space at the bOttOm Of muhh paqe i want it like completely gOne no white space at ALL please help mehhh!?

http://www.myspace.com/bautista602

Anonymous said...

Okay, So, i'm gunna say that i have spent about7 hours of my life looking through codes, trying to remove this bigass white space at the bottom, and yours ACTUALLY worked, so thanks so much, <3

Anonymous said...

ohh my god.. it freaking worked hellzz yeahh..

Anonymous said...

Amazing, Something that actually works . xD

FallenFate said...

Hey. I have the comments on my band page set to the left and have this code for it to push them up -


table.friendscomments {position:relative; left:-170px; top:-3500px;}


When I try to add the margin-bottom code along side of it, it does nothing.

Check out the page [Link Below]and scroll down to the bottom of the page and you will see -

http://www.myspace.com/fallenfate1

Cheers :)

ingris said...

can sumbody pliz help me with the empty white space at the bottom??? my url is www.myspace.com/cuteprieta heres my email if anything lagirlingris@hotmail.com

Jenna Knowles said...

OHMIGOSH(:
This code helped me out so much. The use of the scroll bar annoyed the heck out of me(:
Thanks!

Anonymous said...

mkay. the code does work.
but it also may be affected by an un needed code.
so go threw all your codes and take out all the ones you dont need then try it. :)

ดูหนังฟรี said...

amazing. I just know it now. Thak you so munh.

Anonymous said...

I have a huge white gap on the TOP of my page. what is the remedy for this?

About Me

My Photo
u∃∃l!∃



My name is Eileen.
I live in Corvallis Oregon (for now).
My job is moving to Austin Texas and I may move with it).
I have Aspergers (a type of high functioning autism).
In my case it is not a disability; it gives me as many strengths as it does weaknesses.
However, communicating with Neuro Typicals is a challenge for me. So if we do not understand each other, it is not because I dislike you, think you are stupid, or anything else negative. We just think differently.
View my complete profile