Question #7649999

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; }

2013-06-21 17:47:35

TELL US , if you have any answer

There is NEVER a problem, ONLY a challange!

The is a free-to-use knowledgebase.
  The was started on: 02.07.2010.
  It's free to register. Once you are a registered user, you can ask questions, or answer them.
  (Unless registration you can just answer the questions anonymously)
  Only english!!! Questions and answers in other languages will be deleted!!

Cheers: the PixelFighters


C'mon... follow us!

Made by, history, ect.