Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7069735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:28:55+00:00 2026-05-28T05:28:55+00:00

When I run my CSS through the W3C’s validator, any time I use the

  • 0

When I run my CSS through the W3C’s validator, any time I use the box-shadow property, I get an error like this:

0 is not a box-shadow value : 0 0 10px #000

It appears to stop at whatever the first value is, since changing the order of the values will change the error to match:

#000 is not a box-shadow value : #000 0 0 10px

I’m validating with the profile set to CSS3, so it’s not a case of me forgetting to change the default profile setting from CSS2 (where the box-shadow property doesn’t exist).

Why doesn’t it think any of the values I’m using are correct? The shadow will render perfectly fine in Firefox and any other browser that supports the non-prefixed box-shadow property.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:28:55+00:00Added an answer on May 28, 2026 at 5:28 am

    It’s a known validator bug. Apparently they forgot that unitless values are permitted (especially unitless zero values). There’s nothing wrong with your CSS; the values you’re using are correct.

    If you’re picky and you can’t put up with the bug tarnishing your otherwise would-have-been successful validation, you can simply add units to your zero values:

    box-shadow: 0px 0px 10px #000;
    

    But whenever I run into situations like this, I normally don’t bother, knowing that it’s a harmless validator bug and not something wrong with my CSS.

    Note that as of this update the bug has been fixed since August 30, 2012.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run into similar codes like this all the time in aspx pages: <asp:CheckBox
All files seems to have run through the build script without any problems except
I run a rather complex project with several independent applications. These use however a
At run time I want to dynamically build grid columns (or another display layout)
I recently went through my CSS file and switched all my six-digit hexadecimal codes
I am using this guide to use Django 'out-of-box' with Google App Engine using
I got a folder structure like so css main.css home layout.css menu.css ... account
If I run a python source file through pygments, it outputs html code whose
It looks like the .NET community in general has not picked up on CSS
I have looked through several answers for loading CSS pages. http://docs.djangoproject.com/en/dev/howto/static-files/ Basically, I believe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.