Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
SOS !
I was wondering if someone would be able to help me out with this .
I created a WebSite, on my computer it looks OK, but on the computers with different resolution or smaller screen it looks ugly.
How can i add gorizontal scrolling bar to mypage? Or only way is to handle resolution with JavaScript?
Help, please!

The browser automatically adds horizontal and/or vertical scrollbars when they are needed. I've never heard of a method to add them your self.
There are numerous approaches to handling different screen resolutions.
My approach is to:
1 - design for a 800x600 page. According to web use statistics, a huge majority of people use 800x600 or higher resolutions. If I remember correctly, something like only 5% use 640x480. Although you have to think about your site's audience. If you are designing a site for use in a school for example, and you know that most of the PCs run at 640x480, you don't care what the rest of the world uses.
2 - build the page inside a TABLE or DIV that is about 760 pixels wide. On 640x480 screens, this forces the horizontal scroll bars and the page doesn't get squished. On larger screens, it causes blank space to the left of the page contents, but the page contents don't get expanded (to fit the screen width) and destroy my design.

Thank you very much! It helped me a lot.
I used table width=100% ,and buttons were
squished. Now i use width=800, and buttons are OK.It was very important to me ,thak you for help :)

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |