> Frame - want scroll bars vertical only <

Hi

I have a frameset that has one frame within it set to scrolling="auto" but when I put a table in it that is vertically taller than the page/frame both the vertical and horizontal scroll bars appear (the table is thin). I was after a way to only have the vertical scroll bar show if required rather than both as it would make the page much cleaner looking. I am sure I have seen before and not sure if this is the way "auto" should work??

Cheers

Charlie
cmuirAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KennyTMCommented:
Hi.

According to http://www.htmlhelp.com/faq/html/frames.html#frame-1scrollbar there's no standard solution.
HOWEVER, I found that when you apply the following NON-STANDARD css code to the concerning document (i.e., the frame with tables)

html, body {
    overflow-x: hidden;
}

the horizontal scrollbar will disappear, no matter how wide the content is. Note that this is only supported (AFAIK) IE and Firefox 1.1 and above (inc. the equivalent Mozilla/SeaMonkey versions), and fails on Opera. So you should consider carefully whether really to use it or not...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cmuirAuthor Commented:
works for me!! IE will be the major portion of my visitors so safe on that one :o)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.