Log In · Register

 
How can I make my text the width of my tables?
JJJENNNNN
post Jan 25 2006, 09:35 AM
Post #1


Senior Member
***

Group: Member
Posts: 55
Joined: Jan 2006
Member No: 357,005



I'm obviously doing this wrong. I have no clue how to do it right.

I want all my tables down the left side to be one width, and all the tables down the right to be another (wider). Right now I'm using:

<style>
table table table table{ border:0px; width:308px}
</style>


which seemed to work, although I'm not sure why. The only problem is, my tables down the right-hand side, while still wider, only allow the table contents to be 308 pixels. As a result, there is unusuable blank space down either side of my wider tables. What code can I use to acheive the widths I want, while still being able to have the contents reach wall to wall?
 
 
Start new topic
Replies (1 - 6)
JJJENNNNN
post Jan 25 2006, 10:46 AM
Post #2


Senior Member
***

Group: Member
Posts: 55
Joined: Jan 2006
Member No: 357,005



yay, I fixed it!
by adding one line of code:

<style>
table table table table{ border:0px; width:308px}
table table td.text table {width: 100%;}
</style>
 
duplicatex0x0x0
post Jan 25 2006, 02:48 PM
Post #3


Senior Member
******

Group: Duplicate
Posts: 1,912
Joined: May 2005
Member No: 137,527



Does that mean that you have answered your own question, and this topic does not need to be remained open, since you "fixed it"
 
JJJENNNNN
post Jan 25 2006, 02:55 PM
Post #4


Senior Member
***

Group: Member
Posts: 55
Joined: Jan 2006
Member No: 357,005



yeah, that's right. I just answered it so that if anyone else is having the same problem, they can get the code here. How do I close it?
 
duplicatex0x0x0
post Jan 25 2006, 03:03 PM
Post #5


Senior Member
******

Group: Duplicate
Posts: 1,912
Joined: May 2005
Member No: 137,527



You can't but if you pm a moderator of this fourm, then they can close it, or you could just ask for it to be closed, and when a moderator sees this fourm then they will close it by your request.

mods in this fourm:
- Toyo loco [Toya]
- Julie
- Stanleythepanda [Kara]
 
JJJENNNNN
post Jan 25 2006, 03:04 PM
Post #6


Senior Member
***

Group: Member
Posts: 55
Joined: Jan 2006
Member No: 357,005



will do!
 
MikeTeh1337
post Jan 25 2006, 03:29 PM
Post #7


Myspace Helper/Beginner
*****

Group: Member
Posts: 440
Joined: Jan 2006
Member No: 345,480



just leave it there.. either toyo loco or Julie will see this and close it
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: