# How can I hide horizontal scroll bar in Firefox?

**URL:** <https://forum.kirupa.com/t/how-can-i-hide-horizontal-scroll-bar-in-firefox/177395>\
**Category:** web dev\
**Created:** [February 1, 2006, 4:30pm UTC](https://forum.kirupa.com/t/how-can-i-hide-horizontal-scroll-bar-in-firefox/177395 "2006-02-01T16:30:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![molotov](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@molotov](https://forum.kirupa.com/u/molotov)\
**Post date:** [February 1, 2006, 4:30pm UTC](https://forum.kirupa.com/t/how-can-i-hide-horizontal-scroll-bar-in-firefox/177395/1 "2006-02-01T16:30:13Z")

</div>

I’ve got it hidden for IE but the same CSS does not work for Firefox.

html,body {overflow-x: hidden;}

As a note: The reason I get the horizontal scroll bars is because i have a layer that extends paste the 800 pixel width of my site, this is to hide a dhtml layer the slids in and out.
