Sponsored Content
The Lounge War Stories Scrollbars and Overflow in Posts (Code Tags) Post 303021126 by Neo on Sunday 5th of August 2018 10:16:19 AM
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.
 

4 More Discussions You Might Find Interesting

1. 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

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. 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

4. What is on Your Mind?

YouTube: How to Use Code Tags and Format Posts @UNIX.com

By special request, and long overdue, I have updated our "code tags" video and so now we have: How to Use Code Tags and Format Posts @UNIX.com in 4K https://youtu.be/4BuPvWJV__k (3 Replies)
Discussion started by: Neo
3 Replies
JEKYLL(1)							   User Commands							 JEKYLL(1)

NAME
Jekyll - is a blogaware, static site generator. USAGE
jekyll # . -> ./_site jekyll <path to write generated site> # . -> <path> jekyll <path to source> <path to write generated site> # <path> -> <path> jekyll import <importer name> <options> # imports posts using named import script Configuration is read from '<source>/_config.yml' but can be overridden using the following options: OPTIONS
--file [PATH] File to import from --dbname [TEXT] DB to import from --user [TEXT] Username to use when importing --pass [TEXT] Password to use when importing --host [HOST ADDRESS] Host to import from --site [SITE NAME] Site to import from --[no-]safe Safe mode (default unsafe) --[no-]auto Auto-regenerate --server [PORT] Start web server (default port 4000) --no-server Do not start a web server --base-url [BASE_URL] Serve website from a given base URL (default '/' --[no-]lsi Use LSI for better related posts --[no-]pygments Use pygments to highlight code --rdiscount Use rdiscount gem for Markdown --redcarpet Use redcarpet gem for Markdown --kramdown Use kramdown gem for Markdown --time [TIME] Time to generate the site for --[no-]future Render future dated posts --permalink [TYPE] Use 'date' (default) for YYYY/MM/DD --paginate [POSTS_PER_PAGE] Paginate a blog's posts --limit_posts [MAX_POSTS] Limit the number of posts to publish --url [URL] Set custom site.url --version Display current version AUTHOR
This manual page was written by Youhei SASAKI <uwabami@gfd-dennou.org>, for the Debian GNU/Linux system(but may be used by others). Jekyll 0.11.2 May 2012 JEKYLL(1)
All times are GMT -4. The time now is 04:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy