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
Simple problems
bschaaf
#2
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.
0 Likes
deucemac
#3
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.
0 Likes
deucemac
#5
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!
2020-04-02%20(1)|406x500
0 Likes
OdatNurd
#7
CSS files shouldn’t have <style>
tags in them; that’s what you use if you’re inlining your CSS in the HTML file.
0 Likes