Reply to Re: Input size in firefox and MSIE

Your name:

Reply:


Posted by effendi on 10/08/06 16:37

Jukka K. Korpela wrote:
> Scripsit effendi@epitome.com.sg:
>
> > I am trying to size an input control for a form. I sized it to
> > "size=100" .
>
> A hundred characters is quite a lot.
>
> > It look fine in IE
>
> I don't believe you. Show us the URL.
>
> > but its seems longer in Firefox.
>
> That's not surprising. <input size="100"> means that the width is 100 times
> the "average width" of character - a sloppy concept, with many plausible and
> even more implausible interpretations.
>
> > I tried to change it to size=100%. but it doesnt change.
>
> <input size="100%"> violates HTML specifications, so all bets are off. (It
> is not invalid, though, unless you use a customized DTD.)
>
> > The input control is placed in the table cell.
>
> Why, oh why?
>
> > How do I make it
> > "equal" in the different browsers?
>
> Why should it be "equal"? Do you expect people to compare its appearance on
> different browsers and sue you if they detect a difference?
>
> You _might_ want to use <input style="width:100%"> or something similar.
> This is at least a possible solution. Maybe you have a question for it.
>
> --
> Jukka K. Korpela ("Yucca")
> http://www.cs.tut.fi/~jkorpela/

Thanks, maybe i did get the width wrong. It was meant for width not
inout size.

[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

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