Width Question |
![]() ![]() |
Width Question |
Jun 5 2008, 07:35 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 43 Joined: Feb 2006 Member No: 370,127 |
Anyone know how to change the width of the MySpace tables? I want to have them be narrow, but none of the sample codes allow you to input a width yourself (or i don't see where you would). I wanted them all to be one column as well.
And i know there is a script on createblog that does something similar already, but it isn't allowing me to specify the width I want the tables to be and is messing with text/image size. Thanks for any help :) |
|
|
|
Jun 6 2008, 10:08 AM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 |
Here's the code that I've used. It probably isn't the cleanest, but it's what I've been using for all my skinny layouts. The first part is for the right tables, and the second is for the left. Just look for the two parts that have "width:#px;" and change the number to whatever you want it to be.
CODE table tbody td table tbody tr td.text table{ width:#px;} TD TD {text-align: center;} TD TD TD {text-align: center;} TD TD TD TD {border-top: 0px solid; width: .01%;} TD TD TD TD TD {border-top: 0px solid;} TD TD TD TD TD TD {border: 0px solid;} TABLE, TD {padding: 0px; width:#px;} TABLE TABLE {padding: 0px;} TABLE TABLE TABLE {padding: 0px;height: .1%; width: 100%;} TABLE TABLE TABLE TABLE {padding: 0px;} TABLE TABLE TABLE TABLE TABLE {padding: 0px;} TABLE TABLE TABLE TABLE TABLE TABLE {padding: 0px;} table td div div font {visibility:hidden;} table table table table {border: 0px; padding: 0px;} table table table table table {border: 0px; padding: 0px;} table table table table table table {border: 0px; padding: 0px;} table table td.text table td.text table table tbody td table, span.btext {display: block; width: 100%;} table div {display:none;} table table div, div table div {display:block;} Oh, and this doesn't resize the contact table, but I'm sure that code is easy to find. :) |
|
|
|
Jun 6 2008, 02:36 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 43 Joined: Feb 2006 Member No: 370,127 |
Awesome I will try it out for sure!
Thanks =] |
|
|
|
![]() ![]() |