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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:42:03+00:00 2026-05-23T11:42:03+00:00

background:url(../images/header-icon.png) no-repeat 90% 50%; background: -moz-linear-gradient(top, #FDFDFD 0%, #F8F8F8 100%); background: -webkit-gradient(linear, left top,

  • 0
background:url("../images/header-icon.png") no-repeat 90% 50%;
background: -moz-linear-gradient(top, #FDFDFD 0%, #F8F8F8 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FDFDFD), color-stop(100%,#F8F8F8));
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FDFDFD', endColorstr='#F8F8F8',GradientType=0 );

How can I make these backgrounds not collide with each other? The url image doesn’t show up – or if I reverse the order the gradient doesn’t show up…is there a way to combine these to be in the same line to stop collision and cancelling each other out?

Thanks

  • 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-23T11:42:03+00:00Added an answer on May 23, 2026 at 11:42 am

    Sure, just combine them like this:

    /* for browsers that don't support CSS3 backgrounds */
    background: url("../images/header-icon.png") no-repeat 90% 50%;
    
    /* for Firefox */
    background: url("../images/header-icon.png") no-repeat 90% 50%, -moz-linear-gradient(top, #FDFDFD 0%, #F8F8F8 100%);
    
    /* for WebKit */
    background: url("../images/header-icon.png") no-repeat 90% 50%, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FDFDFD), color-stop(100%,#F8F8F8));
    
    /* for IE */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FDFDFD', endColorstr='#F8F8F8',GradientType=0 );
    

    Having to specify the same image three times is messy, but there’s really no way around it for compatibility reasons.

    See: http://www.w3.org/TR/css3-background/#layering

    The background of a box can have
    multiple layers in CSS3. The number of
    layers is determined by the number of
    comma-separated values in the
    background-image property.

    Also see: http://www.w3.org/TR/css3-background/#the-background

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

Sidebar

Related Questions

.top_line { background:#003466; float:left; height:107px; width:100%; } .header_logo { background:url(../images/header.png) top no-repeat; position: absolute;
So I have the following mark up : background: #7BC145 url(/images/ill_people_leadGen.png) no-repeat right top;
I have a CSS entry that looks like this: .header { background-image: url(./images/embouchure.jpg); background-repeat:
I basically have the following class: .sf-sub-indicator { background: url(/abcprod/images/arrows-ffffff.png) no-repeat -10px -100px; }
I have this background, the css code is: body { background: #FFF url('images/bg.png') no-repeat
I got the following css: div#header, header { height: 88px; width: 100%; background-image: url('/images/header.jpg');
my code <div id=header> <div id=header_top>KIDS'<br>ZONE</div> </div> css #header{ width:1024px; height:150px; background:url('../images/Orange.jpg'); background-repeat:no-repeat; background-size:1024px
Does this work in > iOS 5? .element { background: url(images/myImage.jpg) 50% 0 no-repeat
my html code <div id=content_main></div> css #content_main { width:1024px; height:150px; background:url('../images/Orange.jpg'); background-repeat:no-repeat; background-size:1024px 150px;
BACKGROUND-IMAGE: url(../images/feedback_trans_tab.png); _background-image: url(../images/feedback_tab_ie6.png) I've seen code like this in a css file feedback_tab_ie6.png

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.