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

CSS errors

Expand Messages
  • Satyam
    Reduced to its simplest, this: p { text-shadow: 0 0 2px rgba(255, 255, 255, 0.6); } Produces: Problem at line 5
    Message 1 of 2 , Oct 8, 2011
    • 0 Attachment
      Reduced to its simplest, this:

      <html>
      <head>
      <style>
      p {
      text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
      }
      </style>
      </head>
      </html>

      Produces:

      Problem at line 5 character 27: Expected a positive number and instead
      saw '255'
      Problem at line 5 character 32: Expected a positive number and instead
      saw '255'
      Problem at line 5 character 37: Expected a positive number and instead
      saw '255'
      Problem at line 5 character 42: Expected a number between 0 and 1 and
      instead saw '0.6'
    • Douglas Crockford
      ... Thank you for reducing to its simplest. That is very helpful. Please try it now.
      Message 2 of 2 , Oct 8, 2011
      • 0 Attachment
        --- In jslint_com@yahoogroups.com, Satyam <satyam@...> wrote:
        >
        > Reduced to its simplest, this:
        >
        > <html>
        > <head>
        > <style>
        > p {
        > text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
        > }
        > </style>
        > </head>
        > </html>
        >
        > Produces:
        >
        > Problem at line 5 character 27: Expected a positive number and instead
        > saw '255'
        > Problem at line 5 character 32: Expected a positive number and instead
        > saw '255'
        > Problem at line 5 character 37: Expected a positive number and instead
        > saw '255'
        > Problem at line 5 character 42: Expected a number between 0 and 1 and
        > instead saw '0.6'

        Thank you for reducing to its simplest. That is very helpful.

        Please try it now.
      Your message has been successfully submitted and would be delivered to recipients shortly.