this works . . .
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
...(more stuff)
<link rel="stylesheet" type="text/css" href="css/main.css">
...(more stuff)
</head>
.
.
.
<style>
#topsection{
background-color: #3399cc;
background-image: url('images/banner-back.gif');
height: 65px; /*Height of top section*/
}
</style>
.
.
.
<div id="maincontainer">
<div id="topsection">
<div class="innertube">
<div id="logoimage">
<img border="0" src="images/howto-algebra.png" width="250" height="65">
</div>
</div>
</div>
.
.
.
[more stuff]
. . . but when the code in the style tags is moved into the css file, the background for the topsection div no longer works.
Bookmarks