• 0

IE6 PNG transparency issue with image slider controls


Question

Hey all,

Im having some troubles with my website (see here). Im using the Nivo Slider and the iepngfix.htc.

The problem is, the PNG fix doesnt seem to like background-position, and i end up with both (transparent) arrows pointing backwards in IE6! (Have a look at this screenshot to see what i mean).

Here is the CSS:

/* Transparent PNG Fix */
div.nivo-directionNav a, a.nivo-nextNav, a.nivo-prevNav {
	behavior: url('/js/iepngfix.htc')
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(../images/slider/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
	position:absolute;
	top:40%;
	z-index:99;
	cursor:pointer;
}

a.nivo-nextNav {
	background-position:-30px 0;
	right:10px;
}

a.nivo-prevNav {
	left:10px;
}

Any ideas?

Thanks

4 answers to this question

Recommended Posts

  • 0

I think the best option would be to separate the arrows in to two images, and then give nivo-nextNav and nivo-prevNav their own separate background images.

This should avoid the use of background-position and work in theory.

  • 0

here's another png fix that supports background images with positions.

http://dillerdesign.com/experiment/DD_belatedPNG/

he also has another script that does the same thing but also does rounded corners in ie.

http://www.dillerdesign.com/experiment/DD_roundies/

  • 0

Hello! I see that you got Nivo Slider to work in IE6.

I'm using it also. It works perfectly in all browsers, except in IE6.

This is how it shows when the page loads:

image1glr.jpg

And this is how it shows when it changes to another image:

image2xh.jpg

Any Ideas on how could it be fixed?

Thanks in advance. Any help will be appreciated.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Putin was behind Farage/Brexit and behind Trump/MAGA. Different idiot lying beasts, same fascist master. Same screwed up results for both nations.
    • For me the Final Fantasy games, Langrisser I & II, Hardspace: Shipbreaker, Horizon Forbidden West Complete Edition, Metaphor: ReFantazio and LUNAR Remastered Collection
    • Limited Prime Day deal sees Amazon Echo Show 11 is at its lowest price yet by Ivan Jenic The Amazon Echo Show 11 is currently $149.99 on Amazon during Prime Day, down from $219.99. That's 32% off and $70 saved on Amazon's newest mid-size smart display (purchase link below). As its name suggests, the Echo Show 11 features a 11” Full-HD touchscreen, which is a decent upgrade over the Echo Show 8. It offers 60% more viewing area, which makes a genuine difference for recipes, calendars, video calls, or any other scenario where the smaller display can feel a bit cramped. The Show 11 is built around Alexa+, Amazon's more capable AI assistant that can handle natural conversation. You can make reservations, order groceries, and find content based on your preferences, instead of always having to give it precise commands. There’s also the Omnisense technology, which adds ambient awareness, allowing the device to trigger routines based on temperature, presence detection, or visual cues. Smart home control is built in without needing a separate hub, and the home screen doubles as a photo slideshow when not in use. Taking all of this into account, the Show 11 is a perfect smart addition to your kitchen counter or living room. At $149.99, this is a strong Prime Day buy for anyone already in the Amazon ecosystem or looking to build one out. Amazon Echo Show 11 - $149.99 | 32% off on Amazon Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
    • Week One Done
      tuben earned a badge
      Week One Done
    • First Post
      OffsetAbs earned a badge
      First Post
    • Reacting Well
      OffsetAbs earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      465
    2. 2
      +Edouard
      217
    3. 3
      PsYcHoKiLLa
      157
    4. 4
      Steven P.
      74
    5. 5
      FloatingFatMan
      71
  • Tell a friend

    Love Neowin? Tell a friend!