Why is there no vertical scroll bar on my markdown file?

Here is my entire .md file. Not only do I not have a scroll bar, but anything within the "pre" tags completely changes the font of the text within it. And also the code is viisble in the output. For example, "pre { white-space: ..." is visible in the output.

    <style>
    pre {

    white-space: pre !important;
    overflow-y: scroll !important;
    max-height 100px !important;
    }
   </style>

   <pre class="table" style="max-height: 100px;">

   ### Header

   <div align="center">...body...text...</div>

   <div align="center">...body...text...</div>

   <div align="center">...body...text...</div>

   <div align="center">...body...text...</div>

   <div align="center">...body...text...</div>

   <div align="center">...body...text...</div>

   <div align="center">...body...text...</div>

   </pre>


Read more here: https://stackoverflow.com/questions/67169247/why-is-there-no-vertical-scroll-bar-on-my-markdown-file

Content Attribution

This content was originally published by jthorntonn at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: