css property not found in browser when i inspect my html page? -
below mentioned html , css. when open in browser,css property of background color , other properties not showing expect image.
html code
<html> <head> <title>home page 1 </title> <meta http-equiv="content-type" content="type/html" charset="utf-8" /> <link href="home1.css" type="text/css" /> </head> <body> <header class="headerpart"> <img src="images.jpg"/> </header> </body> </html>
css property
body { background:#cccccc; color:#000000; font-size:12px; font-family:"times new roman", times, serif; font-style:normal; margin:0px auto; } .headerpart { background:#00ccff; margin:0px auto; width:1120px; height:30px; }
when run html in browser, shows image expect css propety of background , everthing. when inspect html, browser showing css property not found..
am looking solution problem..
css classes case sensitive. have class="headerpart"
in html css says .headerpart
capitol p
. change 1 or other, , should see behaviour want.
Comments
Post a Comment