Jack
Jack

Reputation: 3

jQuery slide - CSS issue in IE

I have this simple flyer page which uses jquery to reveal a form via two buttons that when clicked call slideUp() and slideDown().

It works fine in all browsers except IE.

The site is: http://atlas.jgregorydesigns.com/

The isse is : Once a button is clicked the buttons get pushed down and out of position messing up the page layout. The buttons then disappear after being clicked again.

Upvotes: 0

Views: 227

Answers (1)

thirtydot
thirtydot

Reputation: 228182

You've made the unfortunate mistake of not including a doctype to escape Quirks Mode.

Add this as the very first line, and it works fine in Internet Explorer:

<!DOCTYPE html>

You should always have a doctype.

Upvotes: 3

Related Questions