Powered by:
FutureQuest Hosting


"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

Web Hosting
Shared       
Reseller     
VPS             
Dedicated 
Price:   $(US)
Space:     (MB)
Transfer:(GB)
Platform:


Advertise
Advertising Opportunities
Rate Card

Sponsor
Go Back   Webmaster Forums > Code Forum > CSS Forum


Reply
 
Thread Tools Rate this Webmaster Discussion
  #1  
Old 08-18-2009, 10:17 PM
newbie009 newbie009 is offline
Junior Member
 
Join Date: Aug 2009
Webmaster Discussions: 1
Rep Power: 2
newbie009 is on a distinguished road
How can I disable horizontal scroll in textbox for FireFox?

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.
Is there a code that works for both browsers?


Reply With Quote
  #2  
Old 08-19-2009, 10:28 AM
jthayne's Avatar
jthayne jthayne is offline
Senior Member
 
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 487
Rep Power: 15
jthayne is the hardest working person in the biz. jthayne is the hardest working person in the biz. jthayne is the hardest working person in the biz. jthayne is the hardest working person in the biz.
Re: How can I disable horizontal scroll in textbox for FireFox?

The problem is that Firefox does not automatically wrap long words. You will have to find a way to force wordwrap. I believe it can be done using JavaScript, but I am not sure on the code. I do know how it can be done with PHP though.
__________________
Be sure to click the reputation icon to give rep to the person who helped you.
Check out the following sites: www.inbutnotoftheworld.com and www.mythoughtexactly.com.
Reply With Quote
Reply
Sponsor

Bookmarks

Tags
disable , firefox , horizontal , scroll , textbox

Thread Tools
Rate This Thread
Rate This Thread:

 

Similar Webmaster Discussions
Thread Webmaster Discussion Starter Forum Replies Last Post
Firefox not show textbox links Falcon5 HTML Forum 12 06-01-2007 06:13 AM
Horizontal scroll bar fix suvarnashiva CSS Forum 0 11-21-2005 07:16 AM
I need a code for A vertical scroll bar without the horizontal scroll bar CursedBeauty HTML Forum 6 10-02-2004 04:51 AM
Horizontal scroll bar will not work in explorer Oatis HTML Forum 5 04-07-2004 06:35 PM


All times are GMT -5. The time now is 05:20 PM.

Copyright © 1999 - 2009 Advanced HTML For Beginners and AHFB2000. All rights reserved.
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.