I do not have time to troubleshoot people's code. (Hopefully I will again in the future).
I do not have much time to answer questions (but if it is a quick answer, that only takes me a few minutes, I will try to answer).
I really recommend the following site, for myspace customizing questions: Official Myspace Customizing Forum
That is the most reliable source, and the people I know who enjoy helping, and are quite good at it, tend to hang out there.

Friday, April 06, 2007

myspace table sizing make tables same width size

MySpace, Table Sizing, Making Tables The Same Width Size


IF you want all of your left hand tables to line up, and size the same, you must set the table width wide enough to accomodate the largest element, placed inside the table.
You can hard set a table wider than its widest content element.
However if you set it smaller, then the content will cause the table to stretch.

The same is true for the right side tables.

The default width setting for left side tables is 300px.
The default width setting for MOST right side tables is 450px (myspace was not as consistent here)

Not only were the right size tables not sized consistently, their code for controlling the size of comment images, assumes an even larger right hand table size.
For this reason, I suggest setting the right side tables to 480px, and specifically setting the comment content column to 400px.
ANY SMALLER setting, for the comment table right column, will force you to add in your own image sizing control. This will force you to size ALL link images, in the comment content column, the SAME SIZE, and all Non Link images, the Same size.

To take advantage of the default myspace code, for controlling image and object size, in the comments, AND insure your right side tables size the same, I recommend the following code.
I remove some of the left margin space, and center space, to make room for allowing comment images up to 400px wide.
<a class=i href="http://xiii.us/ms1">
myspace customize code by Eileen</a>
<style>
.i {display:none;}
{! optional border !}
table table table {border:1px solid silver }
table table table table {border:0px }
table table table td {border:0px }

{! smaller left column to make more room for right !}
table table table {width:295px !important}
{! override for deeper tables !}
table table table table table {width:auto !important;}

table table td.text table {width:100% !important}
table.friendsComments,
table.friendsComments table,
table.friendsComments td {width:490px !important; padding:0px !important; margin:0px !important}

table.friendsComments table table td {width:90px !important;}
table.friendsComments table table td img {padding:0px !important; border:0px !important;}
table.friendsComments table table td.columnsWidening {width:400px !important; padding:0px !important; margin:0px !important;}

{! override for deeper tables !}
table table td.text table table table {width:auto !important;}

{! blank space on left !}
table img {width: 0px}
{! space between left and right columns !}
table table img {width:5px}

div table img,
table table table img {width:auto; }
td {width:auto !important;}

{! additional code to control vertical spacing !}
br {display:none;}
table table table br {display:inline;}
{! vertical space between tables !}
table table table {margin-bottom:13px;}
table table table table {margin-bottom:0px;}
{! space between nav bar and top tables !}
table table {margin-top:10px;}
table table table, table.navigationBar table {margin-top:0px;}


</style>

15 Comments:

Anonymous Anonymous said...

THANK YOU! This was exactly what I needed for my profile. (^-^)

27/5/08 15:40  
Anonymous Anonymous said...

thankyou so much!!! It worked =]

29/5/08 08:26  
Anonymous Anonymous said...

you are the best!!!!!!!!!!
hahahahah...

14/7/08 11:50  
Blogger Wil said...

does anyone know how to make this code work while keeping the code for adding a banner at the top working?

14/7/08 17:06  
Blogger u∃∃l!∃ said...

I didn't realize they didn't work together.
But I haven't looked back at this code for several months.
Let me run some tests.

14/7/08 17:32  
Blogger Wil said...

This post has been removed by the author.

15/7/08 13:14  
Blogger Wil said...

Thanks! I still can't figure out what's up. Ideally, I'd have two equal columns lined up under the menu.

15/7/08 13:16  
Anonymous MRZ.BOOGiE said...

YO.UR AMAZiNG!! aahha i been tryna do this same thang ALLL DAY!! thank you!!

19/7/08 23:42  
Anonymous Bradley said...

this worked with the left hand side perfectly but i couldnt get it to work with the right. does it need to be any different if it is for a band profile? i am trying to get the tables on the right the same size as the music player so they all line up.

24/11/08 05:14  
Anonymous Anonymous said...

Youre the BEST =]

26/11/08 08:45  
Anonymous Anonymous said...

Wooowww! this code worked! i had been looking for it for months!!! thanks!!!

12/12/08 17:47  
Anonymous Anonymous said...

I don't understand it :/

31/12/08 22:39  
Anonymous Anonymous said...

i love you eileene

7/3/09 11:16  
Anonymous Graham Lawrence said...

Flipping fab!!!!!!!!!!!!!

Many thanks xxxxxxx

9/4/09 15:55  
Anonymous Anonymous said...

its really really good butt i have a grey line across the top does anyone know how to fix it, thanks (LLL)

27/8/09 04:11  

Post a Comment

Due to Excessive Spam, I have turned on comment moderation.

Links to this post:

Create a Link

<< Home