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 09-17-2018
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

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads 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 02:15 PM
Scrollbars and Bootstrap Tables Neo What is on Your Mind? 0 07-17-2018 04:57 AM
Stack Overflow Questions Tags Users Badges Unanswered Ask Question Ask for the explanation of types 915086731 Hardware 1 04-16-2014 06:41 AM
neighbor table overflow linuxgeek UNIX for Advanced & Expert Users 4 11-14-2011 10:22 AM
harvesting posts from html code audiophile Shell Programming and Scripting 1 12-11-2010 06:46 PM
c++ overflow problem mshindo Programming 2 11-10-2008 07:10 PM
How not to let field overflow ? WhitesinHolland Shell Programming and Scripting 1 04-22-2008 09:09 AM
listboxs and scrollbars in TCL cordobapab Shell Programming and Scripting 0 01-31-2006 11:17 AM
Line overflow?? Peterh UNIX for Dummies Questions & Answers 12 04-17-2002 08:25 AM
All times are GMT -4. The time now is 02:28 PM.

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





Not a Forum Member?
Forgot Password?