From 5dc559c8be1b8f6ed15f560433f25c952c874f93 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 5 Apr 2013 15:49:25 +0000 Subject: Assorted HTML/CSS fiddlings to make things work better in IE. I've added a trivial doctype (IE complained without it), but that caused a gap to appear between the puzzle and the status bar, so I tinkered a bit more and ended up removing the completely (no great loss) as well as adding display:block to the canvas and explicitly setting the width of not only the status bar div but also its parent div. Meanwhile, I'm putting the "px" on the end of a lot of properties I set from JS, because IE complains about that too if I don't. [originally from svn r9809] --- html/jspage.pl | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'html') diff --git a/html/jspage.pl b/html/jspage.pl index 376d39a..ae775ec 100755 --- a/html/jspage.pl +++ b/html/jspage.pl @@ -57,6 +57,7 @@ EOF } print $outpage < @@ -82,23 +83,16 @@ ${unfinishedpara}

-

-

- - - - - -
- -
-
-

-

- Link to this puzzle: - by game ID - by random seed -

+
+ + +
+
+

+ Link to this puzzle: + by game ID + by random seed +

Sorry, this Javascript puzzle doesn't seem to work on your web @@ -106,6 +100,7 @@ browser. Perhaps you have Javascript disabled, or perhaps your browser doesn't provide a feature they depend on. These puzzles have been successfully run in Firefox 19 and Chrome 25.
+
${instructions} -- cgit v1.1