diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-22 13:33:16 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-22 13:55:55 +0100 |
| commit | 9be9a12476b3958f12caad1d43b39243e7758e73 (patch) | |
| tree | e032f7d8b21f2a18abed6f0c221bbe96c9381835 /html/jspage.pl | |
| parent | 27f0dafcf0d78b286ccc7812c59fbc5d3e95ebe5 (diff) | |
| download | puzzles-9be9a12476b3958f12caad1d43b39243e7758e73.zip puzzles-9be9a12476b3958f12caad1d43b39243e7758e73.tar.gz puzzles-9be9a12476b3958f12caad1d43b39243e7758e73.tar.bz2 puzzles-9be9a12476b3958f12caad1d43b39243e7758e73.tar.xz | |
js: Move some styling from style attributes to stylesheet
For consistency as much as anything else.
Diffstat (limited to 'html/jspage.pl')
| -rwxr-xr-x | html/jspage.pl | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/html/jspage.pl b/html/jspage.pl index 1a7a624..e19c89a 100755 --- a/html/jspage.pl +++ b/html/jspage.pl @@ -249,6 +249,20 @@ EOF cursor: se-resize; } +#resizable { + position: relative; + left: 0; + top: 0; +} + +#puzzlecanvas { + display: block; +} + +#statusbarholder { + display: block; +} + #apology { padding: 0 1em 0 1em; margin: 1em; @@ -284,10 +298,10 @@ ${unfinishedpara} ><li id="solve">Solve<span class="verbiage"> game</span></li ></ul></div> <div align=center> - <div id="resizable" style="position:relative; left:0; top:0"> - <canvas style="display: block" id="puzzlecanvas" width="1px" height="1px" tabindex="1"> + <div id="resizable"> + <canvas id="puzzlecanvas" width="1px" height="1px" tabindex="1"> </canvas> - <div id="statusbarholder" style="display: block"> + <div id="statusbarholder"> </div> </div> <p> |