Reply to Re: Wierd one

Your name:

Reply:


Posted by Els on 11/23/06 12:49

UKuser wrote:

> Hi folks,
>
> I have a slightly wierd one, in that I need a text box (or text area)
> where there is only 1 row, but the height and width are larger than
> regular, AND the text wraps to the box itself.
>
> i.e - I've tried:
> <input type="text"
> style="width:150px;height:50px;overflow:hidden;word-wrap:break-line">
>
> But this doesnt work. The reason being, is I want an address box but
> only 1 line as the program we use can't cope with multiple lines.

So, why don't you strip any line-breaks server-side and just use a
textarea?

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/

Now playing: Joe Jackson & Elaine Caswell - Happy Ending

[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

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