Posted by admin on

Scroll bars in HTML Boxes

I am exploring text scrollbar. Here are my notes …
I have some css from here, which works fine.

.scroll-box {
  width: 650px; /* max width of the box, feel free to change this! */
  overflow-x: scroll;
  white-space: nowrap;
}

The first example is held as text in the wordpress data base, the 2nd is implemented as a code snip.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxx

%CODE1%
I am having problems with code, specifically python, because tabs and indents are significant.
This is hard with HTML, possibly the overflow property is a better way to do this.


Comments ( 2 )

  1. Analysing the 2019 Election Results |
    […] Final estimates of the Leave vote, or ‘Area interpolation and the UK’s referendum on EU memb…, by Chris Hanretty, in which he posts three spreadsheets detailing the referendum results by CLP. […]
  2. Consitituencies: Leave or Remain |
    […] Final estimates of the Leave vote, or ‘Area interpolation and the UK’s referendum on EU membersh…, by Chris Hanretty, on Medium in which he posts three spreadsheets detailing the referendum results by CLP. […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close