Gerhard Posted December 28, 2015 Share Posted December 28, 2015 Hi, I am a newbee and start just working with html5 and CSS3. I first go through all that tutorials and now tried it for the first time. I use VS2012 for editing, cause it is a common tool for me. I found out, that CSS fils raise error Messages aslong as <style> tag is there. Ommoting this tag (and ist closing Counterpart, brings everything to work. Any explaination? Thanks. With best regards Gerhard 1 Link to comment Share on other sites More sharing options...
dsonesuk Posted December 28, 2015 Share Posted December 28, 2015 What is the error message? it can depend on Doctype used, where style tag is placed, without seeing coding it will be difficult to give explanation for error. Link to comment Share on other sites More sharing options...
Ingolme Posted December 29, 2015 Share Posted December 29, 2015 You shouldn't put a <style> tag inside a CSS file because it's an HTML tag, not CSS. Only CSS should go in a CSS file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now