How do you eliminate the horizontal scroll bar?

Discussion about HTML and XHTML related issues.

How do you eliminate the horizontal scroll bar?

Postby Dance10Looks10 » Mon Aug 21, 2006 4:34 pm

When I have scroll=”auto” I get a horizontal scrollbar whether I want one or not.

I know that if you make the total screen width less than 100%, it is supposed to solve the problem. I see it in every one else’s code but it doesn’t work for me. Arrrggggghhhh!

I need it to work in both full screen mode and in a fieldset. Any help is gratefully appreciated!
Dance10Looks10
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Mon Aug 21, 2006 4:19 pm

Scroll Bar is Browser Specific

Postby DrWhoToo » Fri Oct 31, 2008 9:23 am

The auto value works differently in IE and Firefox. I believe Firefox always puts it in. I know it does when you set the value to yes.
DrWhoToo
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Fri Oct 31, 2008 9:06 am
Location: Binghamton, NY

Re: How do you eliminate the horizontal scroll bar?

Postby paulp575 » Thu Jun 17, 2010 5:43 pm

Dance10Looks10 wrote:When I have scroll=”auto” I get a horizontal scrollbar whether I want one or not.

I know that if you make the total screen width less than 100%, it is supposed to solve the problem. I see it in every one else’s code but it doesn’t work for me. Arrrggggghhhh!

I need it to work in both full screen mode and in a fieldset. Any help is gratefully appreciated!


I never, never use an exact with for anything on my web pages.
I always use a percentage that way regardless of the user's screen resolution and monitor size (width), there should be no horizontal scroll bar!

If for some reason, I must declare an exact width (generally a cell width in a table), I ensure the other cell(s) in the same row use a percentage.
Not sure that's legal, but it works for me!

Not guaranteeing this will solve your problem, but hoping it will help!
paulp575
paulp575
Rank II - Novice
Rank II - Novice
 
Posts: 42
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA

Re: How do you eliminate the horizontal scroll bar?

Postby worrall » Wed Aug 29, 2012 7:54 am

As you saying that the horizontal is coming whether you want or not i think it is because you set the scroll=”auto” . So in order to change the default value please use the yes or no values i.e., change the value of the scroll yes or no according to your requirement. Always dont use the value auto if it doesn't required for you.
worrall
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 6
Joined: Sat Aug 25, 2012 8:06 am

Re: How do you eliminate the horizontal scroll bar?

Postby Bain1971 » Fri Sep 07, 2012 7:55 am

Thanks Worrall, I've been trying to figure this out for a while now.
_____________________________
exercises for flat stomach | flat belly foods | how to lose tummy fat
Bain1971
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Fri Sep 07, 2012 7:51 am


Return to HTML and XHTML

Who is online

Users browsing this forum: No registered users and 2 guests