how do i disable the scroll bars in a page?

A

Andrew Murray

I believe it can be done with CSS as below:

{
overflow-x: none;
overflow-y: none;
}

However this works only in IE I think. Someone correct the above if it's
wrong....that's from memory.

Otherwise design your page so it is not wider than the screen, that way the
scroll bars won't show (the vertical one will if the page is "longer" than
the screen is high (obviously) but there's no need for the horizontal
scrollbar to be visible - design the site to be 760 pixels wide (use
tables). Or use a percentage as your width and the table will adjust to fit
the screen as the resolution is changed. i.e. 90% is still 90% whether 1024
x768 or 800x600 or any other resolution setting.
 
T

Thomas A. Rowe

You would have to make sure your page content never exceed the browse window opening of the user,
however this is outside of your control since the browse window opening can be anything.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
M

Murray

You can be certain that it will never be smaller than 150px x 150px however,
so design for that and let it scale up. 8)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top