Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

display wider than browser window  RSS feed

 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
Most threads fit nicely within my browser's window size (like this one), but some are so wide that scrolling is necessary to read it,
like this one, for example: http://www.javaranch.com/ubb/Forum24/HTML/011198.html
Is this a problem with my browser (Netscape Comm 4.73, 17" monitor) or is something else at work here? Anyone else experiencing this?
Cheers,
Pauline
[This message has been edited by Pauline McNamara (edited July 27, 2001).]
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It isn't your browser or your monitor... it's the UBB software that JavaRanch uses for this board...

I think this happens when a really long line of code is inside a code tag. Normally the text in a post wraps around, but the UBB code tag tells the text not to do this anymore, so formatting of the code remains the same. This means that you can end up with a really long line of code that goes off the edge of the browser. Unfortunatly, it looks like UBB formats all posts on the page to the same width, so any post on the page ends up being as wide as the longest line on the page.

This is something that has been a minor annoyence to me also, and whenever I post code that does this, I usually go back and try to edit some line breaks into my code...

-Nate
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aha.
Does that mean that there's not much hope that the UBB update will eliminate this? If the code tag fixes the width of the post, seems it wouldn't make much sense to have posts of differing widths in one thread... hmm, or would it?
Pauline
[This message has been edited by Pauline McNamara (edited July 27, 2001).]
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pauline,
The guy that posted the long single line inside his code block was causing this. Inside the code blocks in UBB it doesn't word wrap. This causes things to go off the side of the page. I editted it to fix that.
Thanks for bring it to my attention.
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carl,
Thank YOU for fixing it!
Cheers,
Pauline
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a thought. Long lines not wrapping may have to do with 'cut and paste' from a Unix vs. DOS file format.
Seems to me some code somewhere should check for that.
Regards, Guy
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!