Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

How to hide horizontal scrool bar with CSS code?

  • 4 përgjigje
  • 3 e kanë hasur këtë problem
  • 13 parje
  • Përgjigjja më e re nga cor-el

more options

I've hidden vertical scroll bar with css code:

#content browser {
 margin-right: -14px !important;
 overflow-y: scroll;
 overflow-x: hidden;
}

It's located in Chrome folder in my alphanumeric folder. I would really like to know is it possible to add code to hide the horizontal one?

I've hidden vertical scroll bar with css code: <pre><nowiki>#content browser { margin-right: -14px !important; overflow-y: scroll; overflow-x: hidden; }</nowiki></pre> It's located in Chrome folder in my alphanumeric folder. I would really like to know is it possible to add code to hide the horizontal one?

Ndryshuar nga cor-el

Krejt Përgjigjet (4)

more options

The rule

overflow-x: hidden;

will do it, but perhaps you are applying it to the wrong element? If the bar is for the whole page, you may need:

html, body {overflow-x: hidden;}

Not that I condone that on websites -- it's annoying when the content overflows the viewfinder with no way to see it. For example, see this recent support thread: My bottom horizontal scroll bar is missing on most (but not all webpages) on Firefox.

more options

Did you try code like this in userChrome.css?

#content browser{
overflow-y:scroll;
overflow-x:scroll;
margin-right:-14px!important;
margin-bottom:-14px!important;
}
more options

Sorry for not replying sooner. I've tried your code cor-el and it moves every website down for 14px. That's not the effect I was looking for. I would like to hide the horizontal scroll bar when it appears.

more options

You would have to use this code to the userContent.css file.

html, body {overflow-x: hidden!important;}