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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:23:26+00:00 2026-05-28T03:23:26+00:00

I currently have a problem with my z-index with IE. I have a div,

  • 0

I currently have a problem with my z-index with IE.

I have a div, an image in this div and some text over this image.

Here is my HTML code:

<section id="content_right">

                    <div class="mini_bloc_image">
                        <img alt="Camionnette VCI" src="img/mini_reparation_site_nb.png" />
                        <span><a href="#">R&eacute;paration sur site</a></span>
                        <span>Nous nous d&eacute;pla&ccedil;ons</span>
                    </div>

and the CSS:

#content_right {
width: 230px;
height: 484px;
float: right;
}

.mini_bloc_image {
height: 148px;
margin-bottom: 20px;
position: relative;
}

.mini_bloc_image > img {
position: absolute;
}

.mini_bloc_image > span:first-of-type {
display: block;
position: absolute;
top: 95px;
left: 0px;
font-size: 1.1em;
background-color: #ffffff;
padding: 4px 5px 4px 5px;
}

.mini_bloc_image > span:last-of-type {
display: block;
top: 95px;
left: 0px;
position: absolute;
left: 50px;
top: 125px;
color: #ffffff;
font-size: 1.1em;
font-family: 'Marck Script', cursive;
}

IE don’t understand my text must be OVER the image…

I found some solutions like this http://www.adrenatie.com/z-index-et-ie6/ or this http://systembash.com/content/css-z-index-internet-explorer/ but it don’t works.

Can someone help me please?

  • 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-28T03:23:27+00:00Added an answer on May 28, 2026 at 3:23 am

    Problem is you’re dealing with spans, which are rendered inline by default. If you use display:block, the z-index will be used:

    .mini_bloc_image > span:first-of-type {
    display: block;
    position: absolute;
    z-index: 10;
    font-size: 1.1em;
    background-color: #ffffff;
    padding: 4px 5px 4px 5px;
    margin-top: 95px;
    }
    
    .mini_bloc_image > span:last-of-type {
    display: block;
    position: absolute;
    z-index: 10;
    color: #ffffff;
    font-size: 1.1em;
    font-family: 'Marck Script', cursive;
    margin-left: 30%;
    margin-top: 125px;
    }
    

    For more about inline elements and positioning, see this article.

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

Sidebar

Related Questions

I'm currently playing with reflection and I have problem with my short code: public
Hi People am encountering a problem using jquery tools tabs [http://jquerytools.org/documentation/tabs/index.html][1] I have the
I am currently at a loss with this particular bit of HTML/CSS problem. I
I currently have a problem with my jgroups configuration, causing thousands of messages getting
I currently have a problem attepting to update a record within my database. I
I currently have a problem within PHP where I want to sort these posts
I am new to Rails routing and I currently have a problem and hope
I currently have collision between 2 sprites working, using sprite.collidesWith(otherSprite) . The problem is
I have a problem with my jquery UI tabs currently only in Firefox 3.6.24
I have a problem that output string must be utf8-formatted, I am writing currently

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.