|
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
Navigation:
[Reply to this message]
|