473,804 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Textbox dont show scroll bar in Firefox but ok in IE

Coldfire
289 Contributor
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=Single Line CssClass="servi ceBox" 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
6 6525
Coldfire
289 Contributor
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
4,871 Recognized Expert Specialist
Here is one way:
Multiline Textbox Length Validator Control
Apr 3 '07 #3
Coldfire
289 Contributor
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
14,534 Recognized Expert Moderator MVP
Question being moved to HTML/CSS at the OP's request.

ADMIN
Apr 3 '07 #5
Coldfire
289 Contributor
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
7,435 Recognized Expert Expert
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

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

Similar topics

5
8298
by: pv_kannan | last post by:
Hello, I am stuck with a problem trying to mimic the behavior of a Windows Forms Readonly textbox in HMTL/ASP.NET. Basically, I would like the text to be readonly and overflow the textbox (overflow attribute) with the user being able to scroll thru the text using the arrow keys within the textbox. I managed to get the readonly and the overflow part to work but cannot figure out a way to let the user place the cursor within the box and
8
3775
by: ergobob | last post by:
Hello, I have two scroll boxes on the same page. The first scroll box is good in IE but the words will not wrap correctly in Firefox. The second scroll box is good in all browsers. You can see this on a test page at http://www.usernomics.com/ergonomic-products-accessories5.html . Can anyone see why the words will not wrap correctly in the first scroll box
5
3692
by: Aidan | last post by:
Greetings all, I'm trying to build a div based layout for a mambo template (work in progress), and I'm having a strange problem, 2 acctually, with scroll bars in IE. I've tried everything I can think of, but just can't get it to display quite right. It's worth noting that the page displays exactly as intended in Firefox. First Problem:
0
1682
by: the friendly display name | last post by:
Hi, I have a filled multiline textbox on the site. I can scroll it with IE and Firefox, but under Opera (tested under 7.54, and Opera 8, under "identify as MSIE" and under Opera identification) , I'm getting a strange behavior: When I try to scroll, the text doesn't move. It only moves to a new position, if I move the scroll marks, and then click on a empty place of the website. There is nothing on the site, just the textbox.
2
4825
by: Jeff | last post by:
Using ASP.NET 1.1 I have an <asp:TextBox... for which I set the width property --- "width=30". The textbox is being rendered to the browser like this: <input name="someName" type="text" maxlength="3" id="someID" style="width:30px;" /> Notice the gets rendered as . This causes
11
8087
by: jimstruckster | last post by:
I have a table with 10 rows, I want all rows except for the first to be hidden when the page first opens up. If the user puts a value in a text box in the first row then I want the second row to display. If they put a value in the text box in the second row then display the third row etc. etc. etc. to 10 rows. I'm pretty new to javascript, so I'm not to sure where to start. Any help would be great, thanks a lot.
0
3507
by: sjickells | last post by:
Hi I am having a problem using asp:TextBox's in a transparent table. I have a background image on the page and a table in the middle of the page. I have set the background colour of the table to white the used CSS to set the opacity to 90 so that you can see the background image through the table. The problem I am having is with the textboxes in the transparent
7
2912
by: robert.waters | last post by:
I have an Access database frontend linked via ODBC to a large (gigabytes) mysql database. I need to view a large amount of data in a a textbox (variable up to 300K), but I receive a 'there isnt enough memory' error whenever I scroll past N number of bytes in a textbox that has been filled with a lot of data. I am not sure what N is, but for a large chunk of data it occurs at about the halfway scroll, and smaller chunks might not throw...
1
4366
by: newbie009 | last post by:
How can I disable horizontal scroll in textbox for FireFox? Right now 1 textbox has vertical scroll and other textbox has horizontal scroll. It only looks like this on FireFox but it looks ugly. http://jumbofiles.com/example.gif I used this code but it only worked for IE not FireFox: style="overflow: scroll; overflow-y: scroll; overflow-x: hidden; overflow:-moz-scrollbars-vertical;" Basically I want only vertical scroll.
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.