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