Solved

Making scroll bar unvisible

Posted on 2004-10-07
8
239 Views
Last Modified: 2008-02-01
My question is quite simple
How could I make unvisible scroll bars ?
0
Comment
Question by:ferhad
8 Comments
 
LVL 2

Author Comment

by:ferhad
ID: 12247457
I already know how to make it in pop-up windowses.
0
 
LVL 10

Expert Comment

by:dij8
ID: 12247512
A cheating way could be to set your scroll bar colours.
<style type="text/css">
body {
  background-color:#ffffff;
  scrollbar-face-color:#ffffff;
  scrollbar-shadow-color:#ffffff;
  scrollbar-highlight-color:#ffffff;
  scrollbar-3dlight-color:#ffffff;
  scrollbar-darkshadow-color:#ffffff;
  scrollbar-track-color:#ffffff;
  scrollbar-arrow-color:#ffffff;
}
</style>
0
 
LVL 5

Expert Comment

by:php-webdesign
ID: 12248444
or set css:

overflow:none
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 2

Author Comment

by:ferhad
ID: 12256102
Hi dij8
Actually I am trying to make unvisible only right-left scroll bar. Your code quite good but it's making unvisible both scroll bars. Can you make on this sample little changes that will make right-left scroll bar unvisible ?

Hi php-webdesigne
Where should I paste this code(overflow:none) ?
I have already pasted it into dij8's code. But it doesn't gave me anything. Something like that:

body {
  background-color:#ffffff;
  scrollbar-face-color:#ffffff;
  scrollbar-shadow-color:#ffffff;
  scrollbar-highlight-color:#ffffff;
  scrollbar-3dlight-color:#ffffff;
  scrollbar-darkshadow-color:#ffffff;
  scrollbar-track-color:#ffffff;
  scrollbar-arrow-color:#ffffff;
  overflow:none
}

Where is mistake ?
0
 
LVL 10

Accepted Solution

by:
dij8 earned 75 total points
ID: 12256128
You can't colour only one set of scrollbars.

As an IE only fix you could try in your style sheet:
body {
  overflow-y:auto;
  overflow-x:hidden;
}
0
 
LVL 15

Expert Comment

by:Daydreams
ID: 12256209
dij8 has a clever idea, works in IE only though. You can use another method, but this is only for a div, it does not seem to work on the body.  ..also IE only (view source for code)

http://www.geocities.com/daydreamsv10/transcroll.html


Here it seen with an image for the background of the scrollbars (view source for code)

http://www.geocities.com/daydreamsv10/scrollbarstrans.html

It is an interesting exercise, but reduced the accessibility for your users, in my opinion.
0
 
LVL 2

Author Comment

by:ferhad
ID: 12265374
Thank you Dij8 and Daydreams. I will test it and say you results.
0
 
LVL 10

Expert Comment

by:dij8
ID: 12273960
Glad I could help.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem with spacing columns on a row in a table 10 27
Changing Two Areas of a Page 5 25
Can't get container centered 4 24
AJAX Wordpress Not Reading Variable 2 26
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question