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 6772549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:33:44+00:00 2026-05-26T15:33:44+00:00

Yes, another IE fallback question. ;-) I had a look at the others here

  • 0

Yes, another IE fallback question. 😉 I had a look at the others here at SO and most of them were not for multiple backgrounds.

IE<9 does not have support for multiple backgrounds, while IE>=9 does. For both, I am perfectly fine not even having them “multiple” but rather having them simply tile an image for fallback.

Here’s my existing CSS:

.main_accent { 
  background-image: url('../img/background.png');
  background-repeat: repeat;
  background-image: url('../img/fringe.png'), -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)), url('../img/background.png');
  background-image: url('../img/fringe.png'), -moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0), rgba(0,0,0,0.9)), url('../img/background.png');
  background-position: bottom, center, center;
  background-repeat: repeat-x, no-repeat, repeat;
  padding-bottom: 40px;
}

The first background-image and repeat declaration are for the older browsers. Then is a multiple-background image declaration for Webkit and one for Mozilla. These work fine, along with their accompanying position and repeat.

The “images” need to be in this order, because first the tile is filled in, and then the gradient is overlayed, then a bottom “fringe” (similar to the pinking shears effect we’ve all seen) finishes off the bottom.

The problem is that with IE9 or greater, multiple backgrounds ARE supported, but vendor prefixes are of course ignored. This makes IE9+ use the plain non-multi “background” rule, but with the first position and repeat options (bottom, repeat-x). I tried simply having another background-image with the same image 3 times, but that was no good.

Any ideas?

[update:]
used shorthand, but still no luck. IE wants to use that repeat-x at the bottom regardless:

.main_accent { 
  background: url('../img/background.png') repeat;
  background: url('../img/fringe.png') repeat-x bottom, -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)) no-repeat center, url('../img/background.png') repeat center;
  background: url('../img/fringe.png') repeat-x bottom, -moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0), rgba(0,0,0,0.9)) no-repeat center, url('../img/background.png') repeat center;
  padding-bottom: 40px;
}
  • 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-05-26T15:33:44+00:00Added an answer on May 26, 2026 at 3:33 pm

    Well, FWIW here’s what I ended up doing:

    #wrapper > .container:first-child { 
      background: #69000c url('../img/background.png') repeat;
      background: url('../img/fringe.png') repeat-x bottom, -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)) no-repeat center, url('../img/background.png') repeat center;
      background: url('../img/fringe.png') repeat-x bottom, -moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0), rgba(0,0,0,0.9)) no-repeat center, url('../img/background.png') repeat center;
      background: url('../img/fringe.png') repeat-x bottom, -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%), url('../img/background.png') repeat center; /* Opera 12+ */
      background: url('../img/fringe.png') repeat-x bottom, -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%), url('../img/background.png') repeat center; /* IE10+ */ 
      padding-bottom: 40px;
    }
    

    I didn’t make an exception for IE in terms of a filter. MS browsers that support the standard declarations and radial gradient properties (the forthcoming IE10) will be fine. Otherwise I found no more clever option than good ol’ conditionals:

    <!--[if lte IE 9]>
      <style type="text/css">
    #wrapper > .container:first-child {
        background: #69000c url('/wp-content/themes/roots/img/background_darker.png') repeat;
    }
      </style>
    <![endif]-->
    

    Because my radial gradient darkens things up significantly, I made a new tiling pattern that was universally darker. This was preferable to the ‘base’ tiling pattern which was a bit too bright when simply tiled.

    In IE9 or less I obviously don’t worry about the “fringe” effect either. Could do it with an additional div, but it’s not necessary. A straight line was graceful enough deprecation for me. Also important to put the conditional AFTER the original stylesheet so that it can properly “override” what came before.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yes, another NULL vs empty string question. I agree with the idea that NULL
Yes, there is a similar question here . However, that question doesn't seem to
Yes we're talking about ASCII codes. My appologies I'm not the Delphi dev here.
Yes, this is another Pivot question... I've read through nearly all the previous questions
Yes, this is another question about my game engine, which is coming along very
yes it's another .net regex question :) (please excuse the long waffle leading up
Yes, this is probably yet another greatest-n-per-group question... But I've tried at least a
I have to change the Yes and No buttons in an Alert.show(..), to another
I have a yes or no question & answer. I would like to ask
Yes, I know, yet another question about mutable objects. See this for general background

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.