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

The Archive Base Latest Questions

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

I have images that have statistics texts printed over them. This worked well with

  • 0

I have images that have statistics texts printed over them. This worked well with FF, Chrome and IE9 but not on IE8. I cant just seem to figure out what is the problem here.

HTML:

                    <div>
                    <div class="image">

                      <img src="@Url.Content("~/stuff/stuffImage.png")" alt="" />

                      <GIR1><span>@ViewBag.stuffArray[4]%</span></GIR1>

                    </div>
                    </div>

CSS:

.image {
   position: relative;
   width: 100%; /* for IE 6 */
}

GIR1 {
   position: absolute;
   top: 110px;
   left: 50px;
   width: 100%;

}

GIR1 span{
   color: white;
   font: bold 15px/15px Helvetica, Sans-Serif;
   letter-spacing: -1px;
   padding: 10px;

}

Instead of positioning the text inside the picture. It positions them outside it like normal text. What could cause the problem here?
enter image description here

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

    I’m reasonably sure it’s down to your usage of the custom element <GIR1>.

    IE below version 9 does not natively recognize unknown elements.

    You can either switch to <div class="GIR1"> (which would be the easy choice here), or:

    You have to use a JavaScript fix: http://code.google.com/p/html5shiv/

    Note that you’ll have to add the custom element to the script yourself.

    For the uncompressed version, see: http://www.iecss.com/print-protector/

    var elems = 'abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video'
    

    You need to add your custom elements to that list.

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

Sidebar

Related Questions

I have some images that need to change, based not only on hover, but
I have some images that are wrapped within containers like this: <div id=swatchcontainer> <div
I have images that have different size (lower than 200x200 px) I want them
I have 2 images that i need to use one over another while keeping
This is a Rails 3 application. I have images that can be tied to
I have several images that claim to have a transparent background but are actually
I have some images that are not visible other are (background images or img
I have two images that need to be overlaid over one another, and they
I have images that are also links, coded like this: <a href=../www.google.com><img src=pages/squirrely.png /></a>
This may seem like a silly question. I have images that are reused on

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.