html - body background does not work -


my body background color doesn't work.. path css correct. can't figure out why... please help!

index.html

<!doctype html> <html> <head>     <title>welcome page</title>     <link href="css/style.css" rel="stylesheet" type="text/css" media="screen"> </head>  <body>  <div id="box1">     <div id="welcome">     <h1>welcome</h1>     </div>      <div id="logregis">     <a href="login.html"> login </a> <br>     or <br>     <a href="register.html"> register </a>     </div> </div> </body> </html> 

style.css

<style> body{   background-color:#f00;} </style> 

html not belong in css file:

<style> body{   background-color:#f00;} </style> 

should be:

body{   background-color:#f00;} 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -