You are here: Re: Wierd one « HTML « IT news, forums, messages
Re: Wierd one

Posted by UKuser on 11/23/06 12:51

doh - good point! I've only just worked with the old \n and \t etc in
PHP - so thats not a bad idea at all.


Els wrote:

> 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

 

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

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