Hey everyone, for some reason Sublime isn’t letting me set a background color in my css file. If I set the color in my html file with css, then it works somehow. Can someone explain this? Thanks
Could you provide more information? I assume your html/CSS isn’t showing as desired in your browser, in which case this problem has nothing to do with Sublime Text.
Yeah, I mean that if I made a style tag in my html tag and set the body color to blue, the url would respond accordingly, but if I set that same style tag in my CSS file, nothing would happen.
hey man, I spent some time sharpening up on css. The solution didn’t seem to be there. Maybe you can tell me where I’m going wrong? Thanks!
CSS files shouldn’t have
<style> tags in them; that’s what you use if you’re inlining your CSS in the HTML file.