Home Man
Search
Today's Posts
Register

Tell your work related tech stories and share experiences here. Share your successes and failures and other "war stories" in this forum.

Scrollbars and Overflow in Posts (Code Tags)

Tags
bbcode_code, css, overflow, overflow:auto;, war stories

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 08-05-2018
Scrollbars and Overflow in Posts (Code Tags)

YAY!

Finally, seems like forever, I added this CSS to the posts (postbit) for table columns and scrollbars work still do not work for code tags and text inside posts.

Code:
<style>
td {
    max-width:200px;
    overflow: auto;
    white-space: nowrap;
}
</style>

YAY...

Now scollbars appear in the post (and/or in the code tags); so I got rid of the scrollbars around the outside of the posts.

It's not 100% perfect, but it is much better than before.
# 2  
Old 08-05-2018
Update!

DARN!

That does not work because the NO WRAP directive is applied to all text in the post.

RATS!

Back to the drawing board...
# 3  
Old 08-05-2018
DARN!

Reverted the changes back and now the scrollbars are wrapped around the entire post again.

Sorry, it's not fixed yet.

Tables ... errrrrrrrr ..... they gotta go....
# 4  
Old 1 Week Ago
This problem was fixed by removing all <table> elements in the code for posts and replacing them with <div> elements.

That's the problem with running code which is 10 years old.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Posts Converted to Divs - Overflow Works - Now Testing Neo What is on Your Mind? 27 08-07-2018 01:15 PM
Scrollbars and Bootstrap Tables Neo What is on Your Mind? 0 07-17-2018 03:57 AM
Stack Overflow Questions Tags Users Badges Unanswered Ask Question Ask for the explanation of types 915086731 Hardware 1 04-16-2014 05:41 AM
listboxs and scrollbars in TCL cordobapab Shell Programming and Scripting 0 01-31-2006 10:17 AM


All times are GMT -4. The time now is 07:14 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password