<style>div{position:fixed;}button{width:13%;height:30px} textarea{margin-top:30px;width:100%;height:100%;border:none;outline:none}</style> <script src="textarea.js"></script> <div> <button onclick='onSave()'>Save</button> <button onclick="onDelete()">╳</button> <button onclick="onUp()">↑</button> <button onclick="onDown()">↓</button> <button onclick="onTop()">⤒</button> <button onclick="onBottom()">⤓</button> </div> <textarea autofocus /> H1 h2 h3 h4 h5 h6 h7 h8 h9 ha