Jump to content

Confused with Modernizr


njdubois

Recommended Posts

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]

Edited by njdubois
Link to comment
Share on other sites

  • 1 month later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.