WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS validation question (3 posts)

  1. Guzzo
    Member
    Posted 4 years ago #

    My CCS file has the following setup -

    #contentleft ul li{
    	background:transparent url("images/ul-bullet.gif") 0px 3px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
    	margin: 0px 0px 0px 0px;
    	padding: 0px 0px 0px 18px;
    	}

    But, I get the following CSS validation error from it.

    207 #contentleft ul li Value Error : background Too many values or values are not recognized : transparent url("images/ul-bullet.gif") 0 3px no-repeat transparent url("images/ul-bullet.gif") 0 3px no-repeat

    Does anyone know where the error lies?

  2. Guzzo
    Member
    Posted 4 years ago #

  3. Guzzo
    Member
    Posted 4 years ago #

    Okay, I figured it out myself. The theme is older and not being kept up by the author. I just replaced "no-repeat" with "background-repeat: no-repeat" and that did the trick.

    Thanks for being here for support anyway.

Topic Closed

This topic has been closed to new replies.

About this Topic