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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:22:38+00:00 2026-06-05T07:22:38+00:00

This HTML-Code… <a href=LINK class=testclass></a> …works with this CCS-Code… a.testclass { background: transparent url(sprite.png)

  • 0

This HTML-Code…

<a href="LINK" class="testclass"></a>

…works with this CCS-Code…

  a.testclass
  {
    background: transparent url(sprite.png) no-repeat -125px -671px;  
    display: block;
    width: 378px;
    height: 150px;
  }

…in Firefox 12 but not in Internet Explorer 8.

The code is inspired by this question regarding anchors, sprites and CSS. I’ve found a similar questions, but since this code is placed within a rather complex Drupal installation, I still hope that there’s an easier way to fix this issue than going through the code to find some “absolutely positioned outer div and some menu styles”, which had been responsible for the issue in 2.

Thanks for your help.

Edit-1:

This is the Firebug HTML-Log:

<div id="banner-area">
  <div id="banner-left">
    <div class="region region-banner-left">
      <div>
        <a href="LINK">
          <img width="378" height="150" alt="ALTTEXT" src="IMAGE.GIF">
        </a>
      </div>
    </div>
  </div>
  <div id="banner-right">
    <div class="region region-banner-right">
      <p>
        <a class="testclass" href="LINK"></a>
      </p>
    </div>
  </div>
</div>

The referenced CSS-Code is:

#banner-area {
    width:756px;
    margin:0;
    padding:0;
    overflow:hidden;
}

#banner-left {
    width:378px;
    float:left;
    margin:0;
    padding:0;
}

#banner-right {
    width:378px;
    float:right;
    margin:0;
    padding:0;  
}

The first picture (IMAGE.GIF) is shown in FF and IE8. The second hoever, the one i’d like to replace with a sprite, is only shown in FF but not in IE8.

I’ve turned transparency on and off as Florian suggested, but to no effect. I’ve reduced the image size by 10px in width and height, but that didn’t help either.

  • 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-06-05T07:22:39+00:00Added an answer on June 5, 2026 at 7:22 am

    After two days of wasted time I’ve found out that IE8 doesn’t import more than 31 css-files: http://drupal.org/node/228818?page=1

    After enabling the “optimize css-files”-feature again in the Drupal administration panel of my installation, which I had turned off so it doesn’t interfere with my development, everything worked fine.

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

Sidebar

Related Questions

I have this html code <div id=b_container> <div id=b_header> <div class=header_left><a href=#>link 1 </a></div>
I have this html code: <div id=menu> <ul id=menuFuncionalidades> <li> <div class=menuFuncionalidades_categoria> <a href=/sttenterprise/>Index</a></div>
I have HTML code like this: <tr> <td align=left valign=bottom class=leftfooter><a href=#>Customer Support</a> <a
Have a look at this HTML code: <div class=overlay> <a href=#>1</a> <a href=#>1</a> <a
I use this html code <div class=titleIn> <h2><a href=/link2>link2</a></h2> </div> and for some reason
I have this html code that I need to parse <a class=sushi-restaurant href=/greatSushi>Best Sushi
i have this html ul code <ul> <li> <a href='#' class='approch' alt='1' > 111111
I have this HTML code: <div id=note_list> <div class=note> Text 1 <a href=>X</a> </div>
I have this html code <div> <p>MY Text <a href=url>Text</a> </p> </div> I need
I have this HTML code : <ul class=navigation-links> <li class=link-item> <img src=images/new-menu/menu-item_04.png width=150 height=41

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.