Alok Kumar
Alok Kumar

Reputation: 372

margin: 0 auto; not working in IE also everything disarranges. UL also disarranges

I am getting lots of trouble with IE. The whole page is disarranged even though I have reset applied to all the tags initially. Mozilla and Chrome displays it correctly but IE is giving lots of tension. If anyone could help I would be very thankful.

Jquery is also not working fine. and div are disarranged

First see it in mozilla to get a look of what I have designed. then open it in IE to see the troubles.

See it here http://www.crawller.com/opal/

Upvotes: 0

Views: 299

Answers (3)

Alok Kumar
Alok Kumar

Reputation: 372

Thanks to everyone. I solved the problem by including this line at starting before

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

This solved the problem and CSS and jquery codes are responding well in IE now. You can check the modified version at http://www.crawller.com/opal/new/

The old one is also available at http://www.crawller.com/opal/

Upvotes: 1

Libin
Libin

Reputation: 2462

You have a lot of Markup validation errors in your document. First try to fix those errors.

Check your site for w3c Markup Validation

Upvotes: 0

Rob Lowe
Rob Lowe

Reputation: 827

For starters, it appears there are some incorrectly spelled attributes in your css, several references to 'bloc' where I assume you mean 'block'.

Make sure that your html and css validate.

Upvotes: 0

Related Questions