|
|
Subscribe / Log in / New account

page layout -- horizontal scrolling

page layout -- horizontal scrolling

Posted Feb 1, 2007 15:52 UTC (Thu) by corbet (editor, #1)
In reply to: page layout -- horizontal scrolling by grouch
Parent article: An LWN reader survey

I thought that problem had mostly been fixed when we started activating long URLs and shortening the text to http://long-url.com/whatever... Longer term, a better, more CSS-aware layout is clearly needed.


to post comments

page layout -- horizontal scrolling

Posted Feb 1, 2007 16:22 UTC (Thu) by grouch (guest, #27289) [Link] (1 responses)

The article GPL 3: An Open-Source Earthquake? (CRN) is one which now appears with a long horizontal scrollbar for me. Each line is about twice the width of my browser. Best I can tell, it comes from one plain-text URL widening one column of the table.

It doesn't happen often but it is most likely to happen when there are lots of comments. It is also a method by which someone can work deliberate mischief.

page layout -- horizontal scrolling

Posted Sep 11, 2007 15:37 UTC (Tue) by JLCdjinn (guest, #1905) [Link]

CSS offers at least one elegant solution to this problem with the overflow property. When set to "auto", a block that is too wide will automagically generate its own scroll bars; other blocks are not affected.

For LWN, the rule would look something like this:

div.CommentBox
{
  overflow: auto;
}


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds