LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 12-28-2007, 08:23 AM   #1
rblampain
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 7
Posts: 790

Rep: Reputation: 32
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, 09:21 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Probably because of a few pixels of padding or border width. Try setting the width to less than 100%
 
Old 12-28-2007, 09:54 PM   #3
rblampain
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 7
Posts: 790

Original Poster
Rep: Reputation: 32
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 01:35 AM.

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