# VERY simple question

**URL:** <https://forum.kirupa.com/t/very-simple-question/10922>\
**Category:** Uncategorized\
**Created:** [January 9, 2003, 3:23pm UTC](https://forum.kirupa.com/t/very-simple-question/10922 "2003-01-09T15:23:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pjc4real](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@Pjc4real](https://forum.kirupa.com/u/Pjc4real)\
**Post date:** [January 9, 2003, 3:23pm UTC](https://forum.kirupa.com/t/very-simple-question/10922/1 "2003-01-09T15:23:08Z")

</div>

Hey!

In an HTML page, how do u fix the horizontal scrollbar rg get rid of it??

I have an image that is 1024 in width, which is the res I’m also using. SO why does my browser still horizontally scorll?? Is there a tag I can use to prevent this?

Thnx!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 9, 2003, 7:08pm UTC](https://forum.kirupa.com/t/very-simple-question/10922/2 "2003-01-09T19:08:29Z")

</div>

its probably a javascript command to remove the scrool bar  
plus your content probably just goes to far  
try narrowing it down  
and that may work  
for example, im viewing this site right now at 800x600 at school, and it has the horiziontal scroll bar yet when i go home my resolution is 1280x960  
and it is just fine :evil:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 17, 2003, 7:04pm UTC](https://forum.kirupa.com/t/very-simple-question/10922/3 "2003-01-17T19:04:27Z")

</div>

Well just because your res is 1204x768 doesn’t mean that that is your browsers viewing area. You will have to remove the HTML margins

```php
<BODY TOPMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

```

The above removes the HTML margins. You also will have to factor in that the browser has borders on the sides. About 5px each I believe.

There is no way to disable just the horizontal scroll that I know of. you can disable all scrolling, but not just horizontal.
