Log In · Register

 
Change Table Width
kayleighSTFU
post Aug 8 2008, 05:15 PM
Post #1


Senior Member
***

Group: Member
Posts: 99
Joined: Sep 2006
Member No: 464,312



I have the code from a layout I found on here, how do I change the width for the table on the right side to the same width as the left side?



CODE
</style>
<style>embed, object {display:block; width:220px; height:38px;}</style>
<style type="text/css">
table, td {background-color:transparent; border:none; border-width:0;}
body{background-image:url("http://i37.photobucket.com/albums/e77/ohemgitskayleigh/redwhitepolkadots.jpg");
background-attachment: fixed;
background-position: bottom left;
background-repeat: repeat;
background-color:red; }
table table table {border: 1px solid; border-color: black; padding:0; background-color:white; background-image: url("")}
table tbody td table tbody tr td.text table{background-color:white; background-image: url("")}
table table{border:1px; solid black;}
table table table table{border:0px;}
font, td, a, body, table, body, td, li, p, div, textarea, li, h1, h2, p, br {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
textarea, input {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
.btext {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
.blacktext10 {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
.blacktext12 {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
.lightbluetext8 {font-weight: bold; color:000000; font-family:century gothic; font-size: 10px; letter-spacing:1.5; text-transform:lowercase; line-height: 11px;}
.nametext {font-weight:normal; color:000000; background-color:; font-family:century gothic; font-size: 35px; letter-spacing:-3px; text-transform:lowercase; text-alighn: right; line-height: 30px}
.orangetext15 {display:none;}
.redbtext, .redtext {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
.text {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
.whitetext12 {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px;}
a:link, a.man:link, a.text:link, a:visited, a.man:visited, a.text:visited, a:active, a.redlink:active, a.redlink:visited, a.redlink:link, a.navbar:link, a.navbar:visited, a.navbar:active {font-family:century gothic; font-size: 10px; color: 000000; font-weight: normal; text-decoration: none; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px; background-color: transparent; border: 0px solid ..FFFFFF;}
a:hover, a.man:hover, a.text:hover, a.redlink:hover, a.navbar:hover {font-family:century gothic; font-size: 10px; color: 000000; font-weight: underline; text-decoration: underline; letter-spacing: 0px; text-transform: lowercase; padding: 0px; line-height: 10px; background-color: transparent; border: 0px solid ..FFFFFF;}
img { filter:none; border:0px;}
a:link img { filter: none; border:0px solid black;}
a:hover img { filter:none; border:0px solid black;}
body {cursor: ;}
a:hover {cursor: default;}
TD TD {text-align: center;}
TD TD TD {text-align: center;}
TD TD TD TD {border-top: 0px solid; width: 1%; text-align:center;}
TD TD TD TD TD {border-top: 0px solid black; text-align:center;}
TD TD TD TD TD TD {border: 0px solid;}
TABLE, TD {padding: 0px; text-transform: lowercase; width:350px;}</style>
<div style="position:absolute;top:15px;left:10px;width:100px;height:20px;">
<style>
TABLE TABLE {padding: 0px; text-transform: loswercase;}
TABLE TABLE TABLE {padding: 0px; text-transform: uppercase;height: .01%; width: 100%;}
TABLE TABLE TABLE TABLE {padding: 0px; text-transform: lowercase;}
TABLE TABLE TABLE TABLE TABLE {padding: 0px; text-transform: lowercase;}
TABLE TABLE TABLE TABLE TABLE TABLE {padding: 0px; text-transform: lowercase;}
table td div div font {visibili-ty:hidden;di-splay:none;}
table table table table {border: 0px; text-align: justify; padding: 0px;}
table table table table table {border: 0px; text-align: justify; padding: 0px;}
table table table table table table {border: 0px; text-align: justify; padding: 0px;}
table table td.text table td.text table table tbody td table, span.btext {display: none !important}

img { filter:none; border:0px;}
a:link img { filter: none; border:0px solid black;}
a:hover img { filter:none; border:px solid black;}
</style>
<style type="text/css">
td.text td.text table table td img {width:260px; max-width:260px; width:auto;}
* html td.text td.text table table td img {width:260px;}
</style>
<br />
<style>td td td td table {display:none;}.btext, .redlink{display:none;}</style>
<p>
 
 
Start new topic
Replies
Mickey
post Aug 10 2008, 01:16 AM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Try this code:

CODE
<style>
table, td {padding: 0px; width:350px;}
table table table {width:100%; padding:4;}
table table td {padding:0px;}
table table table table td {width:0px;}
.contactTable td, table table td.text table td, table table table table table td {width:auto;}
</style>

That should do it. thumbsup.gif
 

Posts in this topic
kayleighSTFU   Change Table Width   Aug 8 2008, 05:15 PM
Anarchy   Try this code: CODE<style> table, td {pad...   Aug 10 2008, 01:16 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: