Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8434735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:44:18+00:00 2026-06-10T06:44:18+00:00

I’m using Modernizr to detect non-capable SVG browsers and loading an additional stylesheet for

  • 0

I’m using Modernizr to detect non-capable SVG browsers and loading an additional stylesheet for those that don’t support it. The images are set by background-urls in css.

The images don’t show in my android browser at first but when I refresh the page they load. I made certain the cache was cleared before doing so. I’m also using Jquery Mobile but not using any of its styles.

Here is my header:

    <head>
    <meta charset="utf-8">
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>My Website</title>

    <meta http-equiv="x-dns-prefetch-control" content="off">

    <meta name="viewport" content="width=device-width, target-densityDpi=160, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <link href="<?php bloginfo('template_url'); ?>/css/reset.css" rel="stylesheet" />
    <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" />

    <script type="text/javascript" src="http://use.typekit.com/abv4xxx.js"></script>
    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/mobile.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/modernizer.js"></script>
    <script type="text/javascript">

    Modernizr.load({
    test: Modernizr.svg,
        nope: '<?php bloginfo("template_url"); ?>/css/nono-svg.css'
    });

    </script>
    <?php wp_head(); ?>
</head>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:44:20+00:00Added an answer on June 10, 2026 at 6:44 am

    I found the solution. I had to move my js scripts into the load command of modernizr.

    <head>
        <meta charset="utf-8">
        <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
        <title>My Website</title>
    
        <meta http-equiv="x-dns-prefetch-control" content="off">
    
        <meta name="viewport" content="width=device-width, target-densityDpi=160, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    
        <link href="<?php bloginfo('template_url'); ?>/css/reset.css" rel="stylesheet" />
        <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" />
    
        <script type="text/javascript" src="http://use.typekit.com/abv4xxx.js"></script>
        <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
    
        <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/modernizer.js"></script>
        <script type="text/javascript">
    
        Modernizr.load({
            load: ['https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
                '<?php bloginfo("template_url"); ?>/js/mobile.js',
                'http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js'
            ],
            test: Modernizr.svg,
                nope: '<?php bloginfo("template_url"); ?>/css/nono-svg.css'
        });
    
        </script>
        <?php wp_head(); ?>
    </head>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I used javascript for loading a picture on my website depending on which small
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am doing a simple coin flipping experiment for class that involves flipping a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.