Cant explain why page wont work in IE
At the top of this page: http://andrew-muir.com/search/2/#1 - When you click on the slider it will load new results using AJAX into a div. When i chose certain prices on th开发者_StackOverflow中文版e slider the results look fine in IE and when i chose other prices the results come back all broken.
Any ideas? Thanks!
There's a lot of invalid markup in the HTML fragment that comes back from the slider actions. You've got some unclosed tags, etc.
Example:
<div style="background-color:#252525; padding:5px 10px; height:130px; position:relative;">
<p class="bold" style="color:#8a96a4; margin-bottom:0.5em;">Blue Lucerne lotus jug</p>
<p class="bold" style="color:#FFF; margin-bottom:0.5em;">£4250</p>
<p style="margin-bottom:0.5em;"><p><strong>Superb and very rare 30cm lotus jug in the bl…</p>
<p class="boldred" style="position:absolute; bottom:0px; left:10px;"><a href="http://andrew-muir.com/stock/528/blue-lucerne-lotus-jug/">View details ></a></p>
</div>
That line with the "Superb and rare" text has an unclosed <strong>
tag.
When I try to look at the broken page in the IE 8 developer tool, it won't show me the content of the main <div>
. That's a sure sign that the browser has just thrown up its hands in frustration.
edit — weird; it just started working ...
精彩评论