Results 1 to 2 of 2

Thread: strange roll over bug....

  1. #1
    Join Date
    Jan 2010
    Posts
    115

    strange roll over bug....

    I have a image roll over for my nav bar but it works fine on Safari, Chrome, Firefox but not on IE...

    CSS
    /* NAV */
    div#nav a {
    width: 160px;
    height: 35px;
    float: left;
    background-image: url(navicons.gif);
    }
    div#nav a span { display: none; }

    /* NORMAL STATES */
    div#nav a.home { background-position: 0 0; }
    div#nav a.toons { background-position: -160px 0; }
    div#nav a.about { background-position: -320px 0; }
    div#nav a.downloads { background-position: -480px 0; }
    div#nav a.faq { background-position: -640px 0; }
    div#nav a.contact { background-position: -800px 0; }

    /* HOVER STATES */
    div#nav a.home:hover { background-position: 0 -35px; }
    div#nav a.toons:hover { background-position: -160px -35px; }
    div#nav a.about:hover { background-position: -320px -35px; }
    div#nav a.downloads:hover { background-position: -480px -35px; }
    div#nav a.faq:hover { background-position: -640px -35px; }
    div#nav a.contact:hover { background-position: -800px -35px; }
    html:
    <div style="background: rgb(0, 0, 102) url(none) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: right;" width="1000" id="nav">
    <div style="text-align: left;"><img src="round_left.png" style="width: 20px; height: 35px; float: left;" alt="" />
    <a href="http://meltedtoons.com/home.html" class="home"><span>Home</span></a><a href="http://meltedtoons.com/toons.html" class="toons"><span>Toons</span></a><a href="http://meltedtoons.com/about.html" class="about"><span>about</span></a><a href="http://meltedtoons.com/downloads.html" class="downloads"><span>downloads</span></a><a href="http://meltedtoons.com/faq.html" class="faq"><span>faq</span></a><a href="http://meltedtoons.com/contact.html" class="contact"><span>contact</span></a>

    <img src="right_round.png" style="width: 20px; height: 35px; float: left;" alt="" />
    </div>

  2. #2
    Join Date
    Aug 2009
    Posts
    193
    [comment deleted]
    Last edited by zachsformacs95; 06 Apr 2018 at 07:09 PM.

Similar Threads

  1. Bug in Firefox ? Bug in website?
    By selvam_cbe in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 02 Feb 2007, 08:23 AM
  2. Remote Roll Over ImageReady
    By mikka23 in forum Graphic Design
    Replies: 1
    Last Post: 20 Jun 2006, 08:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •