jquery.scrolltable.jsを使って縦長のtable(表)にスクロールバーを表示する方法をご紹介します。 縦長のtableにスクロールバーを表示するCSSの記述 ※jquery-ui.cssファイルを読み込みます。その他table(表)のcss記述です。必要に応じて変更して下さい。 <style type="text/css"> <!-- body{ text-align: center; font-size: 24px; font-weight: bold; } h1{ text-align: center; padding: 10px 0 0 0; font-size: 24px; font-weight: bold; } p{ font-size: 18px; } #controls{ padding: 0.3em 1em; } table.scrollTable{ w
![縦長のtable(表)にスクロールバーを表示する方法【jquery.scrolltable.js】|DAD UNION – エンジニア同盟](https://cdn-ak-scissors.b.st-hatena.com/image/square/d91e1c54a4d45c5e6ba25883eb7035443460965e/height=288;version=1;width=512/https%3A%2F%2Fdad-union.com%2Fwp-content%2Fuploads%2F2022%2F04%2Fpic20220404.jpg)