IE Strikes Again!
I have been working on a basic site for my family's recycling yard store.
One page in particular has had me stumped for two weeks.
It works perfectly in every browser, except Internet Explorer! I have tested it in Firefox, Chrome, Safari, Flock, Opera, SeaMonkey, RockMelt and the javascript content wor开发者_开发问答ks perfectly.
However, in IE the page loads, is not centered and javascript doesn't work. I have JS turned on and other pages work in IE, just not this one.
Can anyone shed some light on what I have done wrong?
The link is http://actionrecyclers.co.nz/Testing/Recyclers/store.php
Any and all help is greatly appreciated!
OK, it won't let me delete my wrongly posted answers below.
Thank you for help on the centering problem.
Does anyone have any ideas why scripts won't load. Sorry I can't be more helpful. What I am especially trying to find out is why the selects are populated with categories in all other browsers, except IE. I know that there is over 200 lines of code, so any tips or pointers that can help set me in the right direction would be very helpful.
Here are some images in case it helps.
http://i.stack.imgur.com/jYlkm.jpg
And the other image:
http://i.stack.imgur.com/jYlkm.jpg
acques got the problem , you don't standard doctype
on your file , firefox works fine, but IE falls back to quirks mode
and breaking alignnment, add proper doctype at the start of your page , it should fix the problem
change width to 100% its working on IE too
.center {
margin-left: auto;
margin-right: auto;
text-align: center;
width: 100%;
}
精彩评论