HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
CSS not recognizing id's Posted by JakeF40 on 15 Aug 2012 at 4:13 AM
So I am pretty new to html and css, and I'm am trying to do a simple id using div, but when I do something in the css file nothing changes.

HTML
<!doctype html>

<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css"/>

</head>

<body>

<div id="Page-Container"> 
Hello world
</div>



</body>


</html>


CSS
#page-container {
	background: red;
}



The Text still comes out with no red background.



 

Recent Jobs