You are here: Centering Text in Table in IE6 « HTML « IT news, forums, messages
Centering Text in Table in IE6

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация