The second example works great. Thank you.
For some reason the first example wasn’t working on my development server (only) with IE 8.
The second example works great. Thank you.
For some reason the first example wasn’t working on my development server (only) with IE 8.
That sounds like you have triggered quirks mode or compatibility mode by accident as it works fine in IE8.
Make sure you have a current valid doctype (and nothing above the doctype) and that you haven’t clicked the compatibility button. They are the main reasons why it may not work for you.