Internet Explorer bug with assigning CSS classes

Today I was fixing a problem on a site in which some background images weren’t showing up on certain elements in Internet Explorer but they were showing up under Firefox and Chrome.
The page is quite a complex one which does a lot of client-side …


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

Today I was fixing a problem on a site in which some background images weren’t showing up on certain elements in Internet Explorer but they were showing up under Firefox and Chrome. The page is quite a complex one which does a lot of client-side building of DOM elements so I started digging around in there, finding the section which was creating the element. The code was very simple, all it did was create a <span /> tag, assign some CSS classes to it and eventually add it to the DOM.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-12-01T20:22:29+00:00) » Internet Explorer bug with assigning CSS classes. Retrieved from https://www.scien.cx/2010/11/10/internet-explorer-bug-with-assigning-css-classes/.
MLA
" » Internet Explorer bug with assigning CSS classes." Posts on LINQ to Fail | Sciencx - Wednesday November 10, 2010, https://www.scien.cx/2010/11/10/internet-explorer-bug-with-assigning-css-classes/
HARVARD
Posts on LINQ to Fail | Sciencx Wednesday November 10, 2010 » Internet Explorer bug with assigning CSS classes., viewed 2022-12-01T20:22:29+00:00,<https://www.scien.cx/2010/11/10/internet-explorer-bug-with-assigning-css-classes/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Internet Explorer bug with assigning CSS classes. [Internet]. [Accessed 2022-12-01T20:22:29+00:00]. Available from: https://www.scien.cx/2010/11/10/internet-explorer-bug-with-assigning-css-classes/
CHICAGO
" » Internet Explorer bug with assigning CSS classes." Posts on LINQ to Fail | Sciencx - Accessed 2022-12-01T20:22:29+00:00. https://www.scien.cx/2010/11/10/internet-explorer-bug-with-assigning-css-classes/
IEEE
" » Internet Explorer bug with assigning CSS classes." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/11/10/internet-explorer-bug-with-assigning-css-classes/. [Accessed: 2022-12-01T20:22:29+00:00]
rf:citation
» Internet Explorer bug with assigning CSS classes | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/11/10/internet-explorer-bug-with-assigning-css-classes/ | 2022-12-01T20:22:29+00:00
https://github.com/addpipe/simple-recorderjs-demo