T
tshad
How do I control the fixed size of a cell?
In the following example, I can control the sizes of the 2 outside cells if
I don't set the middle cell to 100%.
If I set the middle cell to 100%, it takes all the slack out of the left and
right cells. This is fine for the right cell, as that is what I want. This
cell will hold 1 or 2 buttons, so I set the size that will contain the 2
buttons and when only one button is there the middle cell will push the size
of the right cell to exactly the right size.
I don't want that to happen on the left cell, however. I am trying to make
this cell larger that the data it contains. Padding doesn't work, as I am
using a font is not a fixed fonts, so the the right boundaries will not line
up.
I don't have a URL as I don't have a website for it, yet.
*************************************************************************************
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Add New Company</title>
<body>
<table border="1" width="100%" CellPadding="0" CellSpacing="0"
style="margin:0">
<tr>
<td style='font-family:Verdana, Arial, Helvetica, sans-serif;width:60' >
<span id="DataList1__ctl0_QuestionType">MS</span>
</td>
<td width="100%">
How many years have you been working in C#
</td>
<td width="100">
<input type="submit" name="DataList1:_ctl0:_ctl0" value="Edit" />
</td>
</tr>
</table>
</body>
</html>
*************************************************************************************
Thanks,
Tom.
In the following example, I can control the sizes of the 2 outside cells if
I don't set the middle cell to 100%.
If I set the middle cell to 100%, it takes all the slack out of the left and
right cells. This is fine for the right cell, as that is what I want. This
cell will hold 1 or 2 buttons, so I set the size that will contain the 2
buttons and when only one button is there the middle cell will push the size
of the right cell to exactly the right size.
I don't want that to happen on the left cell, however. I am trying to make
this cell larger that the data it contains. Padding doesn't work, as I am
using a font is not a fixed fonts, so the the right boundaries will not line
up.
I don't have a URL as I don't have a website for it, yet.
*************************************************************************************
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Add New Company</title>
<body>
<table border="1" width="100%" CellPadding="0" CellSpacing="0"
style="margin:0">
<tr>
<td style='font-family:Verdana, Arial, Helvetica, sans-serif;width:60' >
<span id="DataList1__ctl0_QuestionType">MS</span>
</td>
<td width="100%">
How many years have you been working in C#
</td>
<td width="100">
<input type="submit" name="DataList1:_ctl0:_ctl0" value="Edit" />
</td>
</tr>
</table>
</body>
</html>
*************************************************************************************
Thanks,
Tom.