0

I'm building my first ever site and teaching myself HTML and CSS. I ran my style sheet through W3C validator and got parse error messages for all my media queries, like the error below.

What am I doing wrong?

Parse Error screen and (min-width: 938px) { .drop-nav li { padding: 58px; } }

Here is my CSS:

@media only screen and (min-width: 938px) {

    .drop-nav li {
        padding: 58px;
    }

}
1
  • 3
    I believe you are checking with html validator :) try css instead as you code is fine Commented Apr 14, 2015 at 20:50

1 Answer 1

1

On the W3C validation page make sure the setting are set to CSS3.

Sign up to request clarification or add additional context in comments.

1 Comment

Try this link foe the W3C validator. CSS Validation Service

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.