Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.

Thread Tools Display Modes
Share |
Old 09-02-2009, 08:13 AM
michaelbenson's Avatar
michaelbenson michaelbenson is offline
Junior Member
Join Date: 06-25-05
Posts: 2
iTrader: 0 / 0%
Exclamation List background-image not showing in IE6

Hi guys, after checking out my website in different browsers through www.browsershots.org I noticed that it works perfectly in every website but, you guessed it, IE6 :mad: There appears to be some issues with displaying the background-image property for some list items - here is the CSS:

/* --- NAVIGATION INFORMATION --- */ ul.pagenav { list-style:none; margin:0 !important; padding:0 !important; } .page_item a { display:block; height: 97px !important; width: 300px !important; text-decoration:none; text-align:left; color:#93114a !important; margin:0 !important; padding:0 !important; } .page-item-home { background:transparent url('images/benson/Go-Back-Home---Dim.jpg') no-repeat; margin:0 !important; padding:0 !important; } .page-item-home a:hover { background:transparent url('images/benson/Go-Back-Home.jpg') no-repeat; } .page-item-9 { background:transparent url('images/benson/Get-Invovled---Dim.jpg') no-repeat; margin:0 !important; padding:0 !important; } .page-item-9 a:hover { background:transparent url('images/benson/Get-Invovled.jpg') no-repeat; } .page-item-11 { background:transparent url('images/benson/Give-Me-60-Seconds---Dim.jpg') no-repeat; margin:0 !important; padding:0 !important; } .page-item-11 a:hover { background:transparent url('images/benson/Give-Me-60-Seconds.jpg') no-repeat; } .page-item-2 { background:transparent url('images/benson/What-Do-You-Do---Dim.jpg') no-repeat; margin:0 !important; padding:0 !important; } .page-item-2 a:hover { background:transparent url('images/benson/What-Do-You-Do.jpg') no-repeat; } .page-item-3 { background:transparent url('images/benson/Why-Bother---Dim.jpg') no-repeat; margin:0 !important; padding:0 !important; } .page-item-3 a:hover { background:transparent url('images/benson/Why-Bother.jpg') no-repeat; } .current_page_item { display:none; }
<ul class="pagenav"> <li class="page_item page-item-11"><a href="http://xxx.com/60-seconds/" title="60 Seconds ">60 Seconds </a></li> <li class="page_item page-item-9"><a href="http://xxx.com/get-involved/" title="Get Involved!">Get Involved!</a></li> <li class="page_item page-item-2"><a href="http://xxx.com/what-do-you-do/" title="What Do You Do?">What Do You Do?</a></li> <li class="page_item page-item-3"><a href="http://xxx.com/why-vote/" title="Why Bother Voting?">Why Bother Voting?</a></li> </ul>
If anyone could help me out I would really appreciate this! It appears as though the last item in the list has its background image property displayed correctly, but the rest are not.
Reply With Quote



Old 09-03-2009, 03:39 AM
Silverday's Avatar
Silverday Silverday is offline
Junior Member
Join Date: 09-03-09
Location: Turkey
Posts: 14
iTrader: 0 / 0%
.pagenav li { margin:0 0 0 22px; }
this might help.
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with WP Background Image mcwb201 Coding Forum 4 07-07-2009 02:07 PM
background image in an inline list in IE starmatt Web Design Lobby 4 03-02-2009 03:18 PM
Background not showing Jackassboy Coding Forum 2 04-29-2007 04:31 PM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 09:37 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC