1 reply [Last post]
ridgerunner
ridgerunner's picture
Offline
newbie
Last seen: 10 years 41 weeks ago
Timezone: GMT-4
Joined: 2011-10-08
Posts: 4
Points: 6

I looked all over and could not find where the html and css code is to have a image for my main header not my h1...... I do not know why this is a problem but I can not get it

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
 
"http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
	<title>Basic Web Site Skeleton</title>
	<style type="text/css">
	body {
	}
	#wrapper {
		width: 960px;
	}
	#header {
		width: 960px;
		height: 100px;
		background-image: url(wet_background.jpg;
	}
	#nav {
		float: left;
		width: 160px;
		height: 600px;
		background-color: khaki;
	}
	#content {
		float: left;
		width: 800px;
		height: 600px;
	}
	</style>
</head>
 
<body>
	<div id="wrapper">
		<div id="header">
			Header here.
		</div>
		<div id="nav">
			Left nav menu
		</div>
		<div id="content">
			This is a sample paragraph of text here.
		</div>
	</div>
</body>
 
</html>

need html and css please

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Hi ridgerunner, when all else

Hi ridgerunner,
when all else fails validate.

Quote:

background-image: url(wet_background.jpg;

Missing ).