LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 12-10-2017, 02:49 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,646
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Line size in posts: what determines it?


I have noticed that, while most threads fit snugly on the page and you can still see the side panel, some have such long lines that I have to keep scrolling sideways to read them.

It seems that once a single post in a thread has this property, all subsequent posts have it. When you add a post, the editor no longer does automatic returns at the ends of lines.

What causes this and can something be done about it?
 
Old 12-10-2017, 03:50 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hazel View Post
It seems that once a single post in a thread has this property, all subsequent posts have it.
at least on that page.

i know the [PHP] code blocks tend to do that, and adding a really large image can do that also.

i have no further explanation; just one more reason for posters to act responsibly.
 
Old 12-10-2017, 04:17 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,976

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
Yes, I think if you have a code/quote/php block (any kind?) that will keep the text entered as-is, so lines will not be wrapped. The width of that block is determined by the longest line (inside).
 
Old 12-10-2017, 07:58 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,361
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
Quote:
I have noticed that, while most threads fit snugly on the page and you can still see the side panel, some have such long lines that I have to keep scrolling sideways to read them.
I have noticed the same behavior occasionally, but I have not seen propagate to other threads.
 
Old 12-11-2017, 12:33 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hazel View Post
It seems that once a single post in a thread has this property, all subsequent posts have it.
i took it for granted that people have basic knowledge of html and css...

this is an html problem - the page width is determined by the widest element, it seems (and that's why it affects the whole PAGE and not just one post).

it would be good practice to reduce elements to "max-width: 100%", but that may have other disadvantages like losing content.
 
1 members found this post helpful.
Old 12-11-2017, 07:01 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Quote:
Originally Posted by pan64 View Post
Yes, I think if you have a code/quote/php block (any kind?) that will keep the text entered as-is, so lines will not be wrapped. The width of that block is determined by the longest line (inside).
This is what I've seen. A code section will make the width grow and it will keep it for the thread.
 
Old 12-11-2017, 10:23 AM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604

Rep: Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101
Thanks for the bug report. This should be addressed in a future code upgrade.

--jeremy
 
Old 12-11-2017, 12:33 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,246

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Fun fact: the Wikipedia article on "Internet trolling" used to have a large, prominent section just for "page widening". Which is intentionally posting stuff to make the forum's text columns wider than designed.

It was important enough (for a long time) that when I took it out, someone else put it back in.

Last edited by dugan; 12-11-2017 at 12:39 PM.
 
Old 12-11-2017, 07:56 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,361
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
Quote:
i took it for granted that people have basic knowledge of html and css...
Thanks for the schooling.

(I wonder whether this falls under the category of "basic knowledge," at least for those of us who learned on our own (that means me). It would seem more like something a hobbyist would pick up when encountering it.)

Next time I run into this phenomenon, I'll look to find the widest element on the page.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
View new posts -- request to show threads with own posts catkin LQ Suggestions & Feedback 5 01-26-2012 08:51 PM
[SOLVED] one line posts John VV LQ Suggestions & Feedback 23 06-24-2011 08:49 AM
LXer: How to create lists of WordPress posts from the command line LXer Syndicated Linux News 0 03-13-2011 01:00 AM
K3b can't determines size of image file : Brasero won't mult-session theKbStockpiler Linux - Software 1 09-22-2010 12:05 PM
How to sort by line size (number of characters in a line) fast_rizwaan Linux - General 8 01-08-2010 05:53 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration