IE7 Hover strangeness

I was working on a sliding CSS menu for a client recently. Tested the new functionality in Opera, Firefox and IE6 – figured I was good to go.

Reviewed the item with the client and found it didn’t work in IE7.

After some research, realized I wasn’t alone. There are other people having random difficulties with the css hover properties in IE7.

Anyway, updating the doctype to

seems to have fixed the problem.

Clean CSS

CLEANCSS is a web based CSS file formatter based on CSSTidy.

Basically, what this means is you can paste your css code into the CLEANCSS site and it will output shiny, clean, nicely formatted code. There are even multiple levels of compression to select from.

Very cool idea, very clean interface.