Red "x"s in line number column of CSS code
-
I just purchased CJT Premium and am learning how to use it with a test site.
For my first try I added a simple CSS code block to color an h2 tag:
<style type="text/css"> h2 { color: blue; } </style>
It works, but in the left column, next to the line numbers are red “x”s on lines 1 & 4. Mousing over them, the errors are all (except for one) “unexpected token”s. Here are the errors:
The X at line one has:
Unexpected token ‘<‘ at line 1, column 1
Expected LBRACE @ line 1, column 12
Unexpected token ‘=’ at line 1, column 12
Unexpected token ‘”text/css”‘ at line 1, column 13
Unexpected token ‘>’ at line 1, column 23The X at line four has:
Unexpected token ‘<‘ at line 4, column 1
Unexpected token ‘/’ at line 4, column 2
Unexpected token ‘null’ at line 4, column 9It has been a while since I actually coded in the <head> tag, so I even looked that up to make sure my syntax, etc was right for the header.
Am I missing something here?
https://www.ads-software.com/plugins/css-javascript-toolbox/
- The topic ‘Red "x"s in line number column of CSS code’ is closed to new replies.