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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:01:08+00:00 2026-05-15T01:01:08+00:00

Basically, I am trying to put a semi-transparent div over an image to serve

  • 0

Basically, I am trying to put a semi-transparent div over an image to serve as a background for text for a slideshow. Unfortunately, the browser seems intent on always rendering the img over the background-image. Is there any way to fix this?

Here is my current CSS for the semi-transparent div:

#slideshow .info
{
    height: 80px;
    margin-top: -80px;
    background: url(../../images/slideshow-info-pixel.png) repeat;
}

… with slideshow-info-pixel.png being a single pixel, 50% opacity, PNG 24.

I have so far tried z-index and the CSS must be compatible with IE6.

  • 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-15T01:01:08+00:00Added an answer on May 15, 2026 at 1:01 am

    If I’m correct, what you’re doing is you have the image inserted in the html then you have the transparent div rendered with css.

    My suggestion here would be :

    • Have the background image also rendered by css
    • use the position property (it’s actually essential)
    • Use z-index to render one div over the other

    CSS :

    .yourImage
    {
        position: relative;
        background: url(./yourImage.png);
        width: 800px;
        height: 600px;
        z-index: 20;
    }
    
    . transparent
    {
        position: relative;
        background: url(./transparent.png) repeat;
        width: 800px;
        height: 600px;
        z-index: 30;
    }
    
    .yourText
    {
        position: relative;
        z-index: 40;
    }
    

    If you really want to make sure your CSS is IE6 compatible, you should do another template for it. Seriously, making sure you comply with every IE6 quirks is a massive waste of time. The faster way is simply to do a simpler version of your page that only IE6 user would see.

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

Sidebar

Related Questions

I'm basically trying to do a dropdown jquery plugin. HTML <script type='text/javascript' src='script.js'></script> <div
Basically I'm Trying to put out on the Textbox inside the Shared Function, But
I'm trying to basically trying to separate a specific amount of text from the
I'm basically trying to create a 2 column div with a liquid <h1> and
Hey, so basically I have this issue, where I'm trying to put an equation
Basically I am trying to put a button in my app which will warn
Basically i've got a web service that i'm trying to put some kind of
I am basically trying to trigger a function if the footer is inside the
I'm basically trying to convert a Unix timestamp (the time() function) to a relative
I'm basically trying to pass a method to another class to be called later,

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.