njdubois Posted December 16, 2014 Share Posted December 16, 2014 When I add modernizr, and I follow the tutorial here: http://webdesignernotebook.com/css/how-to-use-modernizr/ I made some generic background 1 and 2 images, I set up an html file with the modernizr script in the head, before the style. You can see the page here: http://beaconfasteners.com/test.html And the code is: <html class="no-js"> <head> <script src="modernizr.custom.54953.js"></script> <style> #nice { background: url(background-one.png) top left repeat-x, url(background-two.png) bottom left repeat-x; } </style> </head> <body id="nice"> <p>Hello World</p> </body> </html> I pull the site up in internet explorer 11 and using the emulation tools in developer options I go down each version and view the source code. There is never a change, but the backgrounds do stop displaying. is there an extra step I am missing? Is the emulation mode not doing what I think it is? Should I setup a virtual machine with windows xp or find a windows xp system to test with? Thanks a ton! Nick [EDIT]I was viewing source, and not inspecting element. I see changes now and am moving on to next steps. This post can be deleted.[EDIT] Link to comment https://forums.phpfreaks.com/topic/293134-confused-with-modernizr/ Share on other sites More sharing options...
cssfreakie Posted January 20, 2015 Share Posted January 20, 2015 Dont forget your Doctype Link to comment https://forums.phpfreaks.com/topic/293134-confused-with-modernizr/#findComment-1503478 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.