## Validation Error: Invalid Property Value

### Error: XXX is not a valid value for [property]

The value for the specified property is not valid according to the CSS definition it's listed under. Consult the documentation for the property to see what values are valid.

Here are some common property value errors:

- adding a space in a unit value (font-size: 9 pt)
- failing to specify a unit (font-size: 9)
- failing to use url() around values (background-image: back.gif instead of background-image: url(back.gif))
- using CSS Positioning properties in CSS1 (CSS1 doesn't support left, top, etc.)
- using HTML comments (<!-- -->) instead of CSS comments (/* */)

Related topics: Configuring the Style Checker, CSS Properties, Setting the CSS Definition

Section Contents | Help Contents