How can I hide horizontal scroll bar?

Some websites use CSS code (overflow-x: hidden or overflow-y:hidden), that shows the horizontal scroll bar while the frame on the website is centered and only 800 pixels wide, but I really don't need my horizontal scroll bar to show up. So how can I hide it?
Thanks!

If you use <b>overflow: hidden</b> then you shouldn't see a scroll bar (overflow:scroll does that).<br />
If that doesn't work then try to add the !important; or use the code in Stylish or to userContent.css in the chrome folder.
*http://kb.mozillazine.org/userContent.css
*https://developer.mozilla.org/en/CSS/@-moz-document

Similar Messages

  • How can I hide the scroll bar in TextArea?

    How can I hide the scroll bar in TextArea?

    Hi. To remove the horizontal scrollbar you can do this:
    textArea.setWrapText(true);
    To remove the vertical scrollbar you can do this:
    ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
    scrollBarv.setDisable(true);  and set the opacity to 0 in the css file:
    //css file
    .text-area .scroll-bar:vertical:disabled {
        -fx-opacity: 0;
    }Here is an example:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ContextMenu;
    import javafx.scene.control.MenuItem;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.control.TextArea;
    import javafx.scene.input.ContextMenuEvent;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TextAreaSample extends Application {
        @Override
        public void start(Stage primaryStage) {
        final TextArea textArea = new TextArea();
            textArea.setWrapText(true);
            StackPane root = new StackPane();
            root.getChildren().add(textArea);
            Scene scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
            ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
            scrollBarv.setDisable(true);
        public static void main(String[] args) {
            launch(args);
    }

  • How can i hide the menu bar at the bottom of the app in itunes

    how can I hid the bar at the bottom of the App screen in itunes. Where it shows how much audio, app etc space you have left on your device

    Unforrtunately the status bar doesn't make any difference, however I have worked out that the bar does show when I go into full screen. 
    I would have thought it should also work when not in full screen - it certianly used to.

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All,
    As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the whole screen since all the columns are not getting displayed in the normal window screen space. But its looking too odd since once I am scrolling it to right the columns are getting displayed but the above Header Bar and Global buttons are not displaying, they are bound to the normal screen space.
    Is there a way to have a Horizontal scroll bar only for that table instead of the entire screen so that on scrolling that bar only the table rows will beshifted ant got displayed?
    With Thanks
    Kumar Gautam

    try this approach.
    include a raw text item before and table item.
    include the appropriate HTML tags in raw text item to enable horizontal scroll
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • How can I get the scroll bar to go to the top or bottom of the page with a right click command?

    When I right click on the scroll bar nothing happens. I have to spin the mouse wheel repeatedly to get to the top or bottom of the page. I just switched from explorer. I'm used to being able to do this. It's much less time consuming and frustrating. I hope someone can help. Thanks.

    You can hold down the Shift key and left-click the scroll bar to go to that position.
    If you set the Boolean pref <b>middlemouse.scrollbarPosition</b> to "<i>true</i>" (default on Linux) on the <b>about:config</b> page then you can middle-click the scroll bar to go to that position.
    *http://kb.mozillazine.org/middlemouse.scrollbarPosition
    *http://kb.mozillazine.org/ui.scrollToClick

  • How can we remove the scroll bars from the table?

    Hi,
    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance
    Nita

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

  • How can I retrieve the scroll bar in Home applications using OS 10.6.8?  I don't have a general section after clicking on System Preferences.  Thanks.

    I have deleted the scroll bar twice in 4 years and I still don't know how to set it back.  Please help.

    hi Samberl
    thanks a lot for the fast reply.
    I was dragging folders from main folders on the laptop-desktop  onto the external drive icon - to copy them across....
    Your suggestion sounds very promising -  I didn't know about 'cloning'.
    Yes the idea is to backup the laptop -    I thought I would just move it all now, new - and then keep saving/dragging physically   across to the new drive myself each day or two...
    Would this be the sizeof the internal hard drive = c.500 gb  ?   =   under the HD icon on desktop is written  : 
    " 499.76gb , 311.5 gb free  " 
    I can erase and start agin on the new external drive - so this plan is to make two partititions, rather than the one at present, and make one of them 500 gb ?
    I have found CCC [carbon copy cloner] googling - looks good.
    When CCC site says it backs up  the hard drive - would this  mean all my files  [over 100 gb] that are mostly  in folders on the desktop, plus the others in itunes, iphotos etc found in the HD icon,  would all copy across successfully [wherever they are in the computer ]  ?
    thanks again, hope you can clarify these things and then I will go for it. 
    It would be great and amazing if this 'lack of permission' message doesn't show up in the process of doing this ccc transfer - hopeful!
    Julie

  • How can I provide Horizontal tool bar at the bottom of the form?

    Hi Friends,
    I have form with 8 tab pages. I created a horizontal toolbar canvas with some navigational buttons. I want to put the horizontal toolbar at the bottom of the form which is common to all of my tab pages of that particular form.
    How can I do that?
    Thank You.
    Gopinath Kona

    Iam not very sure...but let me give it a try. As far as my knowledge goes, horizontal tool bar can be placed only the top side of the form.
    For your requirement, u can probably try out placing the buttons on a stacked canvas and display the same for every tab page in your form...
    HTH

  • How can I get extra scroll bars in Firefox to read Yahoo mail on a small screen, the way Explorer has?

    When I read my Yahoo emails on my little Asus eee pc, I have to use Explorer because it has extra scroll bars that allow me to scroll back and forth to see things that there is no room for on the screen. Firefox doesn't have these scroll bars.

    Hi ncleeno,
    I understand that on a small screen you would like to know how to add scrollbars to the page so that you can read parts of the email that are not on the screen.
    I have not tried this myself, but I think in about:config: In order to change your Firefox Configuration please do the following steps :
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''' to continue to the about:config page.
    # Search for scrollbar and I believe layout.testing.overlay-scrollbars.always-visible set to true would put these on.
    dom. disable_window_open_feature.scrollbars is the one that is set to false by default as well that prevents the scrollbars on a popup from being disabled. i am not sure if viewing Yahoo mail is a popup. I do not use it, but I will assume its not.
    Did this help?

  • How can I put a scroll bar on a frame?

    Hello,
    I have a class that extends JFrame, and I need the Frame have a scroll bar. How can I do so?

    JFrame frame = new JFrame() ;
    JScrollPane scrollpane = new JScrollPane() ;
    JPanel panel=new JPanel();
    JLabel label=new JLabel("Hello!");
    label.setPreferredSize(new Dimension(2000,2000));
    panel.add(label);
    scrollpane.add(panel);
    frame.setContentPane(scrollpane);
    Does that work for you?
    PS:scroll bar as needed is the default setting, so you don't actually need them. And yeah, your panel must be big enough to let the scroll bars show themselves.

  • How can I get the scroll bars to be more visible/contrasting?

    The scroll bars are difficult for me to differentiate from their background. Can I change their colour or darkness to make them more visible?

    Firefox uses the native scroll bars by default.<br />
    You can try to select another window theme in your Linux distribution that has better scroll bar appearance or see if installing a Firefox theme helps.
    * https://support.mozilla.org/kb/Using+themes+with+Firefox
    *https://addons.mozilla.org/firefox/themes/

  • How can I get a scroll bar at the bottom of the page so I can see the right side of the page when I am using two windows?

    With two or three pages open, I have scroll bars that allow me to see the right side of the other pages, but not on the Firefox page.

    Thank you for the reply, Fred, but when I went to my saved screenshot, I realized that the shortcut on my desktop had opened in IE, not Firefox. There is no scroll bar and the directional arrows do not work. My daughter has been playing with my laptop again. When I set up the same conditions with Firefox, there is no scroll bar, but the arrows function properly, so I can read to the right edge of the page. Now to find someone who knows IE11. Thanks again, for your reply.

  • How can I hide the menu bar of better a specific option without using an addon?

    For security purpose on my environment, I would like to hide the Menu Bar option or (better) restrict the right to install an add-on, change the proxy configuration etc..
    I dont want to use an add-on for that as it will perhaps not work anymore if I update my firefox.
    So i am searching for a registry/file user preference solution or anything else that will let me doing that.
    Thank you for your help
    == This happened ==
    Every time Firefox opened
    == everytime ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    You can hide the menu bar and other toolbars with code in [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #toolbar-menubar {display:none!important;}</nowiki></pre>
    See also http://kb.mozillazine.org/Locking_preferences

  • On a Parallax Scrolling Page, How can I start the scroll bar at the bottom on page load?

    Hello,
    I'm working on a parallax scrolling animated page in Edge Animate, and it's a timeline of life on Earth. But we wanted to start from the bottom, or "Origin of Life" and then scroll up while our 'tree of life' animates in as the user scrolls up. We definitely know it's not good web etiquette to start at the bottom, but our client is determined. I am more of an animator than a web designer, but I was wondering how one might do this using a bit of code? We are using EC.Parallax.setup(sym); from Edgecommons for the parallax function, which is basically just tying the timeline animations to the scrollbar. I've already got the animations setup to go the right way  but we don't want visitors to have to scroll to the bottom first, as they'll then see everything animated in reverse! In my google searches I found something called an Iframe that you can use, and then a flurry of responses on how horrible Iframe is. Thanks for your help, we really appreciate it!

    Hi, Vizkid-
    You can find the height of the document and then use window.scroll in your initialization function to default your scrollbar to the bottom of the page.
    http://stackoverflow.com/questions/1145850/how-to-get-height-of-entire-document-with-javas cript
    Hope that helps,
    -Elaine

  • How to get a horizontal scroll bar when viewed in devices of lesser screen size?

    I've made a website in DW and its perfect in desktop , but when i check the site on mobile device it is not as expected. The site remains in tablet view and the text , images are not being arranged as needed. I'd be grateful if anyone could help me with this . .

    I've made a website in DW and its perfect in desktop , but when i check the site on mobile device it is not as expected.
    Did you build it to be responsive in Mobile, Tablet and Desktops?
    If you built it responsively, no horizontal scrollbars should be required since the page layout adjusts to viewport width.
    If you built your layout with fixed widths in pixels, it isn't responsive and thus won't display nicely on smaller devices.
    For better answers, we need to see your site.
    Nancy O.

Maybe you are looking for

  • Urgent help required : Batch processing error of an inbound idoc

    hi,    i have a problem while posting an idoc to the GL(FB01). i'm using an Inbound idoc message type : ACC_GL_POSTING idoc type : ACC_GL_POSTING01. Process code : BAPI. In the transaction code OBA7 i have enabled a particular document type as BATCH

  • Macbook crashed : Flashing folder with question mark (noise on hard drive)

    My macbook (intel core duo) just crashed a few days ago. This is what it's doing: The screen displays a a flashing folder with a question mark. I did find an article in apple for that : http://docs.info.apple.com/article.html?artnum=58042 But the thi

  • IPhoto crashes when opening, iPhoto crashes when opening

    For a couple of weeks now, iPhoto crashes every time I open it. I have repaired disk permissions. What else can I do?

  • Lightrom 4.4 won't edit in Photoshop

    I'm running a Mac and since upgrading to lightroopm 4.4 I can't right click and edit in photoshop. The option is there and it starts photoshop but thats it, there is no photo imported into photoshop. I can right click and edit in a Nik software modul

  • Microsoft Office 2011 won't open on my Macbook Pro.

    I have a Macbook Pro and I updated to OS X Yosemite (v. 10.10.1) and now that it's running that software, the Microsoft Office applications aren't opening. This is the problem details and system configuration: Process:               Microsoft Word [9