473,545 Members | 2,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disable Vertical Scroll Bars

is there any way to disable or lock vertical scroll bars on a browser
window? im a newbie and i just don't want them to appear on my screen.
sometimes they appear on IE but not on mozilla.

any ideas would be most appreciated.

Jul 20 '05 #1
3 16514
In article <40********@nnt phost.cis.strat h.ac.uk>,
dc************@ cis.strath.ac.u k enlightened us with...
is there any way to disable or lock vertical scroll bars on a browser
window? im a newbie and i just don't want them to appear on my screen.
sometimes they appear on IE but not on mozilla.

any ideas would be most appreciated.


Is this for a site other people are going to look at?
If so, they might want to increase the font size so they can read it.
Making the scroll bars go away is a Bad Thing (tm) for accessibility
reasons. Some people don't have good eyesight and may need to increase
the font size to as large as it goes. This usually makes any "normal"
page have to scroll.

As to removing them from an open window, no. You can open a new window
with no scrollbars, but (see above) it's a Bad Idea (tm) for internet
sites.

If you meant you want your own personal browser to not show scollbars on
any page, I don't think you can do that. You could make a custom HTA
that didn't have them, in theory.

--
--
~kaeli~
I do whatever my Rice Krispies tell me to.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
kaeli wrote:
In article <40********@nnt phost.cis.strat h.ac.uk>,
dc************@ cis.strath.ac.u k enlightened us with...
is there any way to disable or lock vertical scroll bars on a browser
window? im a newbie and i just don't want them to appear on my screen.
sometimes they appear on IE but not on mozilla.

any ideas would be most appreciated.

If you meant you want your own personal browser to not show scollbars on
any page, I don't think you can do that. You could make a custom HTA
that didn't have them, in theory.


Actually, it is possible to control things like scrollbars in your own
browser. Create a css file with something like:

body { overflow-x: hidden ! important; }

Then in Internet Explorer, go to Tools -> Internet Options,
Accessibility.. ., check "Format documents using my style sheet", then
Browse... and specify the css file created above. You will never get a
horizontal scrollbar on any Web page again.

And although I don't think Firefox exposes the functionality directly
(although it may in some Extension or other), you can achieve the same
effect in Firefox by editing <Firefox directory>/res/html.css and adding

body { overflow: -moz-scrollbars-vertical ! important; }

Although it doesn't appear to do what I think it should be doing, however it
does suppress horizontal scrollbars (in addition to doing odd things to the
vertical one). Also note that the res directory contains other css files
such as forms.css, which contains default CSS for all form elements. For
example, if you always want text inputs on forms to have a single pixel
black border, you can change:

input {
...
border: 2px inset ThreeDFace;
...
}

to

input {
...
border: 1px solid Black ! important;
...
}

By the way, I'm not recommending this, you could probably make a huge mess
of Mozilla/Firefox, in addition to possibly violating some copyrights I
didn't read very carefully.

Also, the procedures outlined above are precisely why you shouldn't rely on
your Web page rendering the same on anyone's computer other then your own.

--
| Grant Wagner <gw*****@agrico reunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #3
Grant Wagner wrote:
[...]
And although I don't think Firefox exposes the functionality directly
(although it may in some Extension or other), you can achieve the same
effect in Firefox by editing <Firefox directory>/res/html.css and adding

body { overflow: -moz-scrollbars-vertical ! important; }

[...]
By the way, I'm not recommending this, you could probably make a huge mess
of Mozilla/Firefox, in addition to possibly violating some copyrights I
didn't read very carefully.


That's why there is the possibility for
<profile_direct ory>/chrome/userContent.css
and the like.
PointedEars
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
12702
by: Arlie Rahn | last post by:
I would like to ad a custom scroll bar control to my app that has a customizable and "flat" look to it (not the normal VB look). Does anyone have any ideas on where to find a good one?
0
1376
by: David Pratt | last post by:
Hi. I am putting together a database application on Zope. I have built a pager for my records (20 per page) but do not want the browser scroll bars to reset to the top of the browser each time the pager is advanced to the previous or next page. The normal behavior is fine for everything but the anchor tags I am using for the pager. ...
3
10193
by: AES/newspost | last post by:
Just been involved with a web site where clicking a button on the main page opened a second (or secondary) window intended to function like a dialog box in Apple GUI jargon. (The primary page was a private nonprofit organization's home page and the secondary window was actually an election ballot.) The secondary window opened smaller than...
4
134374
by: justdummy | last post by:
Hi, I am struggling with a problem for sometimes. I need to display a table in a html and if the height of the table goes beyond 200 px then a vertical scrollbar should alone appear without any horizontal scroll bar. If the height of the table is less than 200 px then no scroll bars should appear. Here is the html below. I tried to wrap the...
0
3821
by: Sachin | last post by:
How to match the look and feel of vertical scroll bar with the inbuilt vertical scroll bars of some controls like PrintPreviewControl, Rich Text box , etc. Their scroll bars look blue where the vertical scroll bar control looks brown. please guide -- sachin
18
7876
by: ~john | last post by:
Sorry if this is a dumb question buy my CSS is pretty bad... but how do I get text to center vertically within a div tag? Here's my code below... the text is displaying on the far top-right. I would like it far right centered vertically. #test { width: 100%; height: 55px; margin: 0 0 0 0;
0
1202
by: MrNobody | last post by:
I made a custom user control which is supposed to be my own little simple gui data table and I extend from UserControl and set it's autoscroll property to true yet as I draw outside the vertical bounds and my grpahics are getting clipped it's not providing me with vertical scroll bars... also does anyone have any general tips on how to...
4
22129
by: Matthew Cox | last post by:
Hi, I've been searching the net all day today trying to figure out how one would accomplish what I originally thought would be a fairly straight forward and simple thing. The problem I'm trying to solve is that the designer would like to limit the total number of entires shown when you click on the drop-down arrow of a select box. I'm...
1
4340
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;...
0
7499
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...
0
7432
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7943
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...
0
7786
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...
0
6022
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5076
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...
0
3490
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...
1
1919
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
0
743
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...

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.