You are here: Can't get table cell width with text field to get smaller « HTML « IT news, forums, messages
Can't get table cell width with text field to get smaller

Posted by John Dalberg on 10/17/06 17:58

I have this simple table below. I can't get the input box (text field) to
display smaller. I tried different cell widths, I used smaller font and I
set both the cell width and the text field but I can't decrease the width.
Should't I be able to set the second cell width to any width? Right now in
Firefox, the input box is over 100px and it should be much less. When I
remove the tetx field, the cell width is fine. What are the constraints of
a text field?




<table border="0" cellpadding="0" cellspacing="0" style="border:thin
#000099 solid" width="400">
<tr>
<td width="95%" bgcolor="#FFFFCC">Enter Number :</td>
<td width="5%" bgcolor="#CCFFCC"><input type="text" name="textfield"
style="font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:9px"></td> </tr>
</table>


Tony

 

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

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