-1

I have the following code in CSS, which I am trying to validate with CSS Level 3, however I am getting the following error:

Parse Error [empty string] 

on the line:

input[type="text"], select, textarea 

The full code is

input[type=text], select, textarea {
    width: 90%; /* Full width */
    padding: 7px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical 

Any suggestions? It is from a form I have made in HTML.

edit: Removing the border sections like people have suggested from other solutions does not solve the problem.

7
  • Did you try googling "parse error [empty string]"? Commented May 6, 2017 at 18:16
  • 1
    Possible duplicate of CSS Validation: "Parse Error [empty string]" Commented May 6, 2017 at 18:17
  • I have indeed Googled and checked the link you gave. There is a 'possible bug' which was from 6 years ago!! (which one would presumed has been fixed). Or has it? I can't just presume it was a bug, hence why I am asking people with more experience than me who may notice something else Commented May 6, 2017 at 18:25
  • If you click through to the bug report, you will see that it (1) is a real bug and (2) has not been fixed. Commented May 6, 2017 at 19:09
  • Ok, so the code looks fine? I ask as if every time a 'Parse Error' error came up, people just assumed it was a bug, it could cause problems. Thank you. Commented May 6, 2017 at 19:52

1 Answer 1

0

Fixed it, it is not the bug. I forgot the closing '}' bracker. It compiles perfectly

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

Comments

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.