BizarreHazar Posted November 29, 2021 Share Posted November 29, 2021 No matter how I rearrange my HTML, I am constantly blocked from viewing my page because there is a "Syntax Error on line 1" - there is NO syntax error on line 1. I have an entire block of code written out in a notepad file and it opens perfectly with web browsers. Below is a clip of it, from the beginning. How is <!DOCTYPE html> a syntax error? I have my opening and closing <head> and <body> tags way down below on the full document; again, this is just a clip. <!DOCTYPE html> <html> <head> <style> div.a {text-indent: 30px; } </style> <link href='https://fonts.googleapis.com/css?family=Rajdhani' rel='stylesheet'> <style> body { font-family: 'Rajdhani'; font-size: 16px; font-weight: bold; background-color: rgb(240,240,240) } </style> Link to comment
paul2009 Posted November 29, 2021 Share Posted November 29, 2021 You cannot add HTML to the Custom CSS panel. This is for CSS (LESS) only. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment