• I have received the following CSS errors from the WC3:
    * Line: 90 Context : p , li , .feedback
    Invalid number : letter-spacing100% is not a letter-spacing value : 100%
    * Line: 100 Context : .credit
    Invalid number : font-sizeVerdana is not a font-size value : Verdana,Geneva,serif
    * Line: 223 Context : #menu ul li
    Invalid number : letter-spacing100% is not a letter-spacing value : 100%
    * Line: 242 Context : #menu ul ul li
    Invalid number : letter-spacing100% is not a letter-spacing value : 100%
    at https://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Ftest.stroh.org%2F&usermedium=all
    Main site: https://test.stroh.org
    CSS File: https://test.stroh.org/wp-layout.css
    This is a site where I am testing out skins, pugins, etc. before creating the actual site.
    I don’t know enought about CSS to know what is wrong with my stylesheet, but would appreciate the help making it comply with the standards.
    While you are looking at the site, do you have any recommendations?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter stroh

    (@stroh)

    Can anyone tell me how to get rid of the blue line that borders my footer? I’d appreciate it.
    Thanks.
    -stroh

    letter-spacing: 100%
    – try ’em’ values’ for spacing instead.
    Always make sure that each declaration ends with ;
    It’s not absolutely required for the last declaration in a statement, but it’s good practice.
    When the validator reports errors in declarations that cover several issues, break them down to their constituent parts. It makes the css file a tiny bit longer, but it’s much easier to read and bughunt in.

    Blue line:
    .credit {
    /* credits-background = #036 */
    background: #FFCCEE;
    border-top: solid 1px #9cf;

    Red line:
    .credit {
    /* credits-background = #036 */
    background: #FFCCEE;
    border-top: solid 1px #ff0000;
    <—change that value ??

    Thread Starter stroh

    (@stroh)

    Thanks for the help with the colors.
    Do you have any recommendation for what ’em values’ to use, unfortunately I don’t know enough about css to know what to use.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS errors’ is closed to new replies.