html - IE7 check stops page displaying in IE8 -


i have infuriating issue ie7 , ie8. element of page not display correctly in ie7, , after lot of trial , error found simplest fix add conditional part page header:

<!--[if ie 7]> <style type="text/css"> #slideshow {top: -135px;} </style> <![endif]-–> 

great! find if add page, page not display at all in ie8 - literally shows blank page. if click "quirks" button, page displayed.

anyone ideas going on? infuriating.

(ie8.0.6001.18702 on windows xp)

the comment isn't closed. last "dash" character 0x2013 rather 0x2d. following on page commented out except ie7.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -