My HTML document is not linking to my CSS stylesheet properly -


i have been copy , pasting html , css tutorials try make work, right have;

page (html)

<!doctype html> <html> <head> <meta charset="utf-8"> <title>title of document</title> <link rel="stylesheet" type="text/css" href="style/style.css" /> </head>  <body> <h1>1this site</h1> <p>welcome site</p> </body>  </html> 

style.css

body {background-image:url(“background.png”);} h1 {font-family:arial, sans-serif;} 

the when load html in safari still unformatted.

thanks in advance!

check see if setting paths right if still have problem try use fill path :

<link rel="stylesheet" type="text/css" href="http://127.0.0.1/test/style/style.css" /> 

Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -