By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,724 Members | 1,707 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,724 IT Pros & Developers. It's quick & easy.

Textbox dont show scroll bar in Firefox but ok in IE

Coldfire
100+
P: 289
Hello

I am doing a ASP.Net website project where i am having a problem of textbox
its attributes are

<asp:TextBox ID="Description" TextMode=SingleLine CssClass="serviceBox" Width="250" Height="45" Runat="server" MaxLength="1000" /></asp:TextBox>

and the CssClass

.serviceBox
{
border-right: #dddddd 1px solid;
border-top: #dddddd 1px solid;
font-size: 8pt;
border-left: #dddddd 1px solid;
border-bottom: #dddddd 1px solid;
font-family: "Verdana";
overflow:auto;

}
its showing horizontal scroll bar in IE but not in Firefox.
Has someone got any idea...Help required !
Apr 3 '07 #1
Share this Question
Share on Google+
6 Replies


Coldfire
100+
P: 289
well.......if I change the TextMode from SingleLine to MultiLine . It do shows the horz scroll bar but then MacLength doesnt work. So, anybody got any hint ?
Apr 3 '07 #2

kenobewan
Expert 2.5K+
P: 4,871

Coldfire
100+
P: 289
Here is one way:
Multiline Textbox Length Validator Control
I know that solution and the others regarding Multiline Textbox...but here my prob is different
Apr 3 '07 #4

MMcCarthy
Expert Mod 10K+
P: 14,534
Question being moved to HTML/CSS at the OP's request.

ADMIN
Apr 3 '07 #5

Coldfire
100+
P: 289
I know that solution and the others regarding Multiline Textbox...but here my prob is different
I need to work through this problem of "singleline textbox, not displaying horz-scrollbar in mozilla firefox but working in IE"

IE 6.0
Firefox 2.0.0.3
Apr 3 '07 #6

drhowarddrfine
Expert 5K+
P: 7,435
It shows for me in FF but you need to enter text for it to show. Are you saying you want it on all the time?

btw, I don't think there is a maxlength for <textarea> off the top of my head.
Apr 3 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.