Posted by Guy Noir on 11/11/06 16:14
Hello all.
I have a need to display text over a checkbox item and have the 2
centered.
I'm strugggling a bit with IE6 (Works fine in Firefox)
<table id="generatedIpAddressTable" cellspacing="0" cellpadding="0"
border="0"
style="border-width:2px;border-style:Inset;border-collapse:collapse;">
<tr style="border-width:2px;border-style:Dashed;">
<tr style="border-width:2px;border-style:solid;">
<td align="center" style="width: 5px">
<span id="lbl128a" align="center">1</span><input
id="chk1" type="checkbox" name="chk1" />
</td>
</tr>
</table>
The number 1 in the <span> is left justified, while the checkbox is
centered.
(I have to use the span....it's auto generated by my backend)
Can someone point me to a way to have these centered, one over the
other in one table cell?
Thanks much in advance for sharing your expertise.
-Guy
[Back to original message]
|