css error: background Parse Error [empty string]

Posted on 2009-12-20
Last Modified: 2012-05-08
Error from validator:
#twoColumnright  Value Error : background Parse Error [empty string]  


#twoColumnright {
      overflow: hidden;
      background: #FFF url(images/content-fill.gif) repeat-y left;
      width: 920px;

Does anybody know what is wrong with this css?
Question by:zattz
    LVL 29

    Accepted Solution

    Hi zattz,
    Does the CSS file locate under same folder with the defined background's image? If no, you need to move up(depend the hierarchy level) from the existing hierarchy to get the image.
     background: #FFF url(../images/content-fill.gif) repeat-y left;

    If this is internal CSS, make sure the image file exist in the appointed "images" folder.

    Author Comment


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
    In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now