Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi Line Textbox not wrapping in Firefox 1

Status
Not open for further replies.

theoryofben

IS-IT--Management
Aug 25, 2001
149
US
Hello All.

I have an .NET multi line textbox that I have set to wrap and not scroll horizontally. It works great in IE, but in Firefox it just keeps scrolling. I was thinking it must be an easy fix, but I havent' found it yet.

Any and all help is greatly appreciated.

Thanks

________________________________________________
"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison

 
Ok, here is the code
Code:
<Asp:Textbox id="descr" CssClass="fborder" Runat="server" TextMode="MultiLine" Wrap=True Width="70%" Height="150" />

And here is the rendered HTML in Firefox
Code:
<textarea name="descr" id="descr" class="fborder" style="height:150px;width:70%;"></textarea>

________________________________________________
"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison

 
The behavior in IE is that it wraps with no horizontal scroll bars period. But with Firefox, it will only wrap at a break.

So, is it possible to make it behave in Firefox as it does in IE? This isn't a huge deal, but it's just annoying to me.

Thanks

________________________________________________
"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison

 
Nope, while IE supports the word-break css property, FF has nothing similar to work with. A long string of text without breaks will always stay in one line in FF. Why do you need such a long line of text without breaks anyway?
 
Thanks for the info. It's not a big deal at all, but I just wanted to make sure that I wasn't missing something.

Thanks.

________________________________________________
"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top