okfn/ckan — pull request #2 by zydio (2012-02-24 18:40:46+00:00)
Title: Defect 1788, solves many IE7 (actually IE < 9) compatibility problems

I have faced, and been asked to fix some IE issues in CKAN... and those I'm requesting to pull should solve the vast majority of layout and misc issues encountered in IE < 9 (including IE7, obviously).

The first two commits, the "light" ones:
- some Javascript errors which prevented the dataset page to work correctly
- minornavigation links layout.

The third commit also tries to deal with the major layout issue: the missing support for HTML5 elements which breaks the header and footer layout (as shown in the screenshot in the [ticket #1788](http://trac.ckan.org/ticket/1788) ). It does so by conditionally including [html5shiv](http://code.google.com/p/html5shiv/) for IE < 9, which currently seems to be the best way (besides removing all HTML5 elements from ckan).

The fourth commit sorts the last annoying visual problem: the footer in IE <= 8 shows half grey and half white, with lists overflowing in the white half.
I reworked a bit the html layout and some css properties, and the layout now seems to work better (even analyzing the page with Firebug).

I've spent some more words on the last two commits as the first one involves adding a new script for IE browsers (which, as noted in the commit must be in the

tag), and the second make a moderate change in the layout (which is fine in my view, and doesn't seem to affect badly any page in any browser).

PS: I've marked everything as related to the [Track defect #1788](http://trac.ckan.org/ticket/1788) which I've found searching for the problems I was solving in Track. I'd have commented that defect, but I don't seem to be able to, even if registered.