From 9a284e7b76bac25d4a823509279bcda5b7d87176 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 12 Jul 2009 14:04:24 -0700 Subject: [PATCH] Fixed an Internet Explorer 8 bug in which the toolbar was positioned incorrectly. --- NEWS | 2 ++ static/css/ie8.css | 38 ++++++++++++++++++++++++++++++++++++++ view/Page.py | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 static/css/ie8.css diff --git a/NEWS b/NEWS index 9f9f597..6e82625 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ typed text after the link does not become linked itself. * Fixed a Firefox 3.5 bug in which bold mode (or italics mode) would inexplicably end after typing a few characters. + * Fixed an Internet Explorer 8 bug in which the toolbar was positioned + incorrectly. 1.6.14: June 14, 2009 * Fixed a bug in which some printed or exported notes appeared in diff --git a/static/css/ie8.css b/static/css/ie8.css new file mode 100644 index 0000000..11613a9 --- /dev/null +++ b/static/css/ie8.css @@ -0,0 +1,38 @@ +#note_tree_area_holder { + overflow: auto; + height: expression( eval( documentElement.offsetHeight - 100 ) ); +} + +#link_area_holder { + overflow: auto; + height: expression( eval( documentElement.offsetHeight - 100 ) ); +} + +#left_area { + width: auto; + margin-left: auto; +} + +#link_area { + width: 20%; + margin-left: -20%; +} + +#right_area { + width: auto; + margin-left: auto; +} + +.note_frame { + margin-bottom: 1em; +} + +.static_note_contents a[target ^= "_new"] { + background: none; + padding: 0; +} + +.note_grabber { + position: relative; + left: 4px; +} diff --git a/view/Page.py b/view/Page.py index 599db91..5217097 100644 --- a/view/Page.py +++ b/view/Page.py @@ -21,7 +21,7 @@ class Page( Html ): Title( title and u"%s: %s" % ( app_name, title ) or app_name ), """""" % VERSION, """""" % VERSION, - """""" % VERSION, + """""" % VERSION, ), Body( Div(