Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-28-2007, 09:23 AM   #1
Senior Member
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,070

Rep: Reputation: 48
html unwanted horizontal scrolling

I have an HTML document containing 2 words and a horizontal scroll bar, in a frameset environment. The frameset document specify scrolling="auto" for this particular window.

I have read somewhere that, even with an empty table for which the width is set at 100%, the actual width is always over 100% for some reason I have forgotten, and this creates the undesirable horizontal scroll bar.

At the time, I successfully followed the suggested solution but I can't trace it back.

Can anyone help?

Thank you for your help.
Old 12-28-2007, 10:21 AM   #2
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,885

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
Probably because of a few pixels of padding or border width. Try setting the width to less than 100%
Old 12-28-2007, 10:54 PM   #3
Senior Member
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,070

Original Poster
Rep: Reputation: 48
Thank you for the answer, I suspected something similar.

Can anyone suggest a suitable link that will tell exactly what is done by default, concerning border, padding etc so that I can create tables precisely as they should be?

Not defining the width works beautifully when there is enough text to automatically occupy the available space but it gives ugly results when the complete text is narrower than the available space, setting the width to less than 100% gives similar results although less ugly.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal scrolling cdhgee Linux - Hardware 4 03-11-2008 10:52 AM
horizontal mouse wheel scrolling config in Slack 11 [evdev driver instead of mouse] arcanex Slackware 8 12-12-2007 08:18 AM
Horizontal scrolling and other buttons on Microsoft Laser Mouse 6000 cdhgee Linux - Hardware 0 03-29-2006 10:54 PM
Logitech MX1000 horizontal scrolling now goes forward and back. shoota Linux - Hardware 1 12-06-2005 05:52 PM
html stops scrolling short101 Programming 5 03-05-2005 12:21 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration