Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-13-2002, 10:20 PM   #1
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Table problems..

I seem to have no control over the way my table cells are sizing!

Take this table for example

PHP Code:
<table border="1" width="200" table height="100">
<
tr>
<
td width="100" height="100" rowspan="2">100 wide100 high</td>
<
td width="100" height="30">100 widecoded for 30 high</td>
</
tr>
<
tr>
<
td width="100" height="70">100 widecoded for 70 high</td>
</
tr>
</
table
produces..

<table border="1" width="200" table height="100">
<tr>
<td width="100" height="100" rowspan="2">100 wide, 100 high</td>
<td width="100" height="30">100 wide, coded for 30 high</td>
</tr>
<tr>
<td width="100" height="70">100 wide, coded for 70 high</td>
</tr>
</table>

wTF? Why do the two right cells split evenly, rather than the heights i have specified? Am i doing something wrong?

Last edited by chodadog; 06-13-2002 at 10:21 PM..
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-13-2002, 10:21 PM   #2
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
add a percent sign so like 100 to 100% etc I think thats what your looking for
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-13-2002, 10:22 PM   #3
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
i'll give it a go..

<table border="1" width="200" table height="100">
<tr>
<td width="100" height="100" rowspan="2">100 wide, 100 high</td>
<td width="100" height="30%">30%</td>
</tr>
<tr>
<td width="100" height="70%">70%</td>
</tr>
</table
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-13-2002, 10:23 PM   #4
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
BAH! fucks me
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2002, 12:53 AM   #5
marty
Confirmed User
 
Join Date: Feb 2002
Posts: 1,656
The large text stretches the table to make itself fit. And since you had the same amount of large text in the top as in the bottom it went to 50-50.

You can either remove the text or minimize the text as shown below.
Code:
<table border="1" width="200" table height="100">
<tr>
<td width="100" height="100" rowspan="2">&nbsp;</td>
<td width="100" height="30">&nbsp;</td>
</tr>
<tr>
<td width="100" height="70">&nbsp;</td>
</tr>
</table>
PHP Code:
<table border="1" width="200" table height="100">
<
tr>
<
td width="100" height="100" rowspan="2">&nbsp;</td>
<
td width="100" height="30">&nbsp;</td>
</
tr>
<
tr>
<
td width="100" height="70">&nbsp;</td>
</
tr>
</
table
Code:
<table border="1" width="200" table height="100">
<tr>
<td width="100" height="100" rowspan="2"><FONT SIZE=1>100 wide, 100 high</FONT></td>
<td width="100" height="30"><FONT SIZE=1>100 wide, coded for 30 high</FONT></td>
</tr>
<tr>
<td width="100" height="70"><FONT SIZE=1>100 wide, coded for 70 high</FONT></td>
</tr>
</table>
PHP Code:
<table border="1" width="200" table height="100">
<
tr>
<
td width="100" height="100" rowspan="2"><FONT SIZE=1>100 wide100 high</FONT></td>
<
td width="100" height="30"><FONT SIZE=1>100 widecoded for 30 high</FONT></td>
</
tr>
<
tr>
<
td width="100" height="70"><FONT SIZE=1>100 widecoded for 70 high</FONT></td>
</
tr>
</
table
marty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2002, 01:15 AM   #6
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
D'oh. Thanks
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.