Red Squirrel
01-05-2009, 09:03 PM
Not sure why, but the right hand side of form fields is not adjusting properly to the specified cell padding. See attachment to see what I mean.
This is the html portion of one of the fields:
<td class="tablecell1" style="text-align:left; vertical-align:left; ">
<input type="text" class="formfieldtext" value="1" name="acl_all" >
</td>
The tablecell1 class is as follows:
td.tablecell1 /* normal */
{
border: 1px solid #000000;
font-size:14px;
padding:2px;
}
And formfieldtext:
input.formfieldtext
{
border: 1px solid #000000;
font-family:courier;
width:100%;
background:#FFFFFF;
}
Also my doctype is as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Anything in there that would cause the border not obeying the cellpadding for the right side?
This is the html portion of one of the fields:
<td class="tablecell1" style="text-align:left; vertical-align:left; ">
<input type="text" class="formfieldtext" value="1" name="acl_all" >
</td>
The tablecell1 class is as follows:
td.tablecell1 /* normal */
{
border: 1px solid #000000;
font-size:14px;
padding:2px;
}
And formfieldtext:
input.formfieldtext
{
border: 1px solid #000000;
font-family:courier;
width:100%;
background:#FFFFFF;
}
Also my doctype is as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Anything in there that would cause the border not obeying the cellpadding for the right side?
