Computing.Net > Forums > Programming > Scrolling bars for html page.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Scrolling bars for html page.

Reply to Message Icon

Name: nataly333
Date: August 1, 2003 at 22:13:40 Pacific
OS: Windows
CPU/Ram: 1
Comment:

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!



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: August 2, 2003 at 08:57:18 Pacific
Reply:

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.



0

Response Number 2
Name: nataly333
Date: August 2, 2003 at 21:26:45 Pacific
Reply:

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 :)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Scrolling bars for html page.

Html page (no menu bar, no location bar) www.computing.net/answers/programming/html-page-no-menu-bar-no-location-bar/383.html

HTML-- how do you make frames invisible? www.computing.net/answers/programming/html-how-do-you-make-frames-invisible/458.html

MFC scroll bar message help www.computing.net/answers/programming/mfc-scroll-bar-message-help/11572.html