WordPress.org

Ready to get started?Download WordPress

Forums

Help! Problem with code on my front page! (2 posts)

  1. clipnyc
    Member
    Posted 4 years ago #

    Hi,

    Someone just told me that one of the images on the front page of my site (http://www.clipnyc.com) is doubled-up on certain browsers, like internet explorer.

    I tried looking at my HTML and CSS to find the problem, but I'm not finding it. Is anyone able to spot the problem and help me figure out how to fix it?

    Thanks!

  2. alexpts
    Member
    Posted 4 years ago #

    You problem:

    #LearnMore {
    background:url("http://www.clipnyc.com/wp-content/uploads/2010/LearnMore/rotate.php") no-repeat scroll 0 0 transparent;
    display:block;
    height:200px;
    width:200px;
    }

    #LearnMore:hover {
    background-position:0 -200px;
    }

    Try:

    #LearnMore {
    background-image: url("http://www.clipnyc.com/wp-content/uploads/2010/LearnMore/rotate.php");
    background-position: 0 0;
    background-repeat: no-repeat;
    display:block;
    height:200px;
    width:200px;
    }

    #LearnMore:hover {
    background-position:0 -200px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic