javascript - IE8 Refusing to apply stylesheet to dom created elements -


It is now known that TwitPeek.net, one of my websites, render properly in "IE8" beyond "compatibility mode" not doing. The site works fine in IE 7.

On some investigations, it appears that the IE8 page is refusing to apply the stylesheet to anchor and img tags, which generates the page's JavaScript. Because of this, none of the script.aculo.us animation is displayed properly, the pictures are not set to a similar size, and all the margins are completely ignored.

Actually the page looks like crap.

This should be an IE8 bug, but can I do something to work around, except to use the compatibility mode meta tag?

Edit: The problem is resolved . IE8 was not processing class specialty on the new DOMElement. Instead had to set a classname.

Did you see it in your source-code?

  & lt; Body id = "index;" & Gt;  

I suspect that there is nothing more for W / IE 8 and W / HTML ...

edit me It looks like your error is here:

  # feedlist & gt; Div & gt; A.item & gt; Img {& lt; ------------ Border: 0; Width: 140px; Height: 140px; -WebKit box-shadow: 0 px2px 7px black; & Lt; --------} Try this:  
  #FidList div a.item img {border: 0; Width: 140px; Height: 140px; }  

To see what this does ... also, please post the generated HTML ... you may also have a problem with bad format HTML.

PS: I also get the following JS error:

 Webpage Error Details User Agent: Mozilla / 4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trent / 4.0; GTB 6; SLCC1; NAT CLR 2.0.50727; Media Center PC 5.0; InfoPath 2.June 3.0; .NET CLR 3.5.30729; Net CLR 3.0.30618; Tablet PC 2.0) Timestamp: Saturn, 25 July 2009 04:13:00 UTC Message: 'console' is undefined line: 21 four: 41 code: 0 URI: http://www.twitpeek.net/js/twitpeek.js 

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -