Loading ...
Sorry, an error occurred while loading the content.

Re: [NH] CSS question

Expand Messages
  • loro
    ... Nothing. But the CSS checker says: 128 * Parse Error */ #intro p {margin: 0 25%;} Look at the beginning of the quoted line. You have half a comment a bit
    Message 1 of 10 , Nov 14, 2010
    • 0 Attachment
      Mike wrote:
      >Down to one CSS error:
      >http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fepicroadtrips.us%2F2010%2Fca%2Fd7%2F
      >#intro p {margin: 0 25%;}
      >What is wrong with it?

      Nothing. But the CSS checker says:
      128 * Parse Error */ #intro p {margin: 0 25%;}

      Look at the beginning of the quoted line. You have half a comment a
      bit up, after the last } before this rule. Since whitespace doesn't
      count for more than a single space the selector becomes "*/ #intro p".

      Lotta
    • Mike Breiding - Morgantown WV
      ... Got it! No errors now. Thanks, -mb
      Message 2 of 10 , Nov 14, 2010
      • 0 Attachment
        loro wrote:
        > Mike wrote:
        >> Down to one CSS error:
        >> http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fepicroadtrips.us%2F2010%2Fca%2Fd7%2F
        >> #intro p {margin: 0 25%;}
        >> What is wrong with it?
        >
        > Nothing. But the CSS checker says:
        > 128 * Parse Error */ #intro p {margin: 0 25%;}
        >
        > Look at the beginning of the quoted line. You have half a comment a
        > bit up, after the last } before this rule. Since whitespace doesn't
        > count for more than a single space the selector becomes "*/ #intro p".

        Got it!
        No errors now.
        Thanks,
        -mb
      Your message has been successfully submitted and would be delivered to recipients shortly.