Reply to Re: Can't get table cell width with text field to get smaller

Your name:

Reply:


Posted by jojo on 10/18/06 15:00

John Dalberg wrote:
>>> 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.
>> Why do you think so? You have neither styled the INPUT element to a
>> specific width nor sized the field with the attribute SIZE for the
>> character count. All you have done is shrunk the text size to a tiny 9px!
>
> Yes I was able to do so and using a small font and monospace font.
> http://www.cs.tut.fi/~jkorpela/forms/present.html

You were "able to"? Congratulations. But I wouldn't it call great
because I like to be able to read what I just entered into a form...

To size the form use the size-attribute of the input or use the
css-property width on the input (and not on the table) as Jonathan
already told you.

[Back to original 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

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