
March 6th, 2013, 01:47 PM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 5
Time spent in forums: 2 h 36 m 44 sec
Reputation Power: 0
|
|
New Member - Images won't load on webpage. Where am I going wrong?
Hi, I'm a noob. Most of what I have learned so far has been working except for adding an image using CSS. This is really frustrating.
Details:
I'm using a Mac, Snow Leopard, Text Wrangler, and or Komodo. html file is on desktop, as is image. Ive tried different file extensions for the image, I've tried adding quotes around the photo file that lies within the parentheses.
Here is what I have:
<html>
<head>
<style type= "text/css">
body {background-image: url (purple fish.jpg); background-color: gray;
}
</style>
</head>
<body>
</body>
</html>
Thanks.
|