Why wont this html/css code work?
I am making a website for a school project. In this website there will be rounded boxes (divs) (I know how to make them rounded, that isn't the problem) which I am using css (in a separate file) to control. But when I run it nothing is showing up on the page. I don't know if it is a stupid error or what, but I have checked and cant find anything. I will attach the scripts below. Thanks in advance. --------------------------------------------------------------------------------------------------------------------------------------------------- <html> <head> <link type="text/css" rel="stylesheet" href="obj.css"/> </head> <body> <div></div> </body> </html> --------------------------------------------------------------------------------------------------------------------------------------------------- (File name is obj.css which is saved in the same folder) div { background-color: #cc0000; }
TELL US , if you have any answer