Scrollbars and Overflow in Posts (Code Tags)


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
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  
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 or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

Posts Converted to Divs - Overflow Works - Now Testing

Hey, Success! I have converted the posts (each of the main posts) from table tags to div tags and the problem with the scroll bar and code tags is fixed, as I predicted (Yay!). Now I'm testing this (only I see the new results because the new code is restricted to my userid) but I would... (27 Replies)
Discussion started by: Neo
27 Replies

2. What is on Your Mind?

Scrollbars and Bootstrap Tables

Making some progress using CSS from Bootstrap; changing table classes to the Bootstrap "table" class and wrapping those tables in a div with a scroll bar. So, the good news is that now each post with large blocks of code that exceeds the width of the screen will have a scrollbar; but the bad... (0 Replies)
Discussion started by: Neo
0 Replies

3. Hardware

Stack Overflow Questions Tags Users Badges Unanswered Ask Question Ask for the explanation of types

I have read a document which tells me the following 4 things are done by the RAM embedded on disk driver controller. But I don't know what's difference between buffer and cache. Thanks! RAM on disk drive controllers 1 firmware 2 speed matching buffer 3 prefetching buffer 4 cache (1 Reply)
Discussion started by: 915086731
1 Replies

4. Shell Programming and Scripting

listboxs and scrollbars in TCL

Hi ! Anyone can tell me how to controll two listboxes with only one scrollbar in TCL? I have tried the following but it didn't work: listbox .listw.list -width 25 -height 25 -yscrollcommand {.listw.scroll set} listbox .listw.list2 -width 25 -height 25 -yscrollcommand {.listw.scroll set}... (0 Replies)
Discussion started by: cordobapab
0 Replies

Featured Tech Videos