Hey guys
I am trying to redesign my site in a fashion that it is easier to update so I've decided to do the site that includes a bit more of css then ever before. I don't know what I'm doing wrong here. But the thing is I never used CSS before in terms of background images and stuff.
I am trying to load my header image through css stream load everything up. It seems alright in Dreamweaver, but it never shows up in Firefox nor in IE8... Argh...
Css code:
html/php code:
In Dreamweaver:
In Firefox/IE8:
Thank you guys for the help...![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I am trying to redesign my site in a fashion that it is easier to update so I've decided to do the site that includes a bit more of css then ever before. I don't know what I'm doing wrong here. But the thing is I never used CSS before in terms of background images and stuff.
I am trying to load my header image through css stream load everything up. It seems alright in Dreamweaver, but it never shows up in Firefox nor in IE8... Argh...
Css code:
Code:
* { padding: 0; margin: 0; }
body {
font-family: Lucida Console, Monaco, monospace;
font-size: 12px;
color: #FFF;
}
#wrapper {
margin: 0 auto;
width: 877px;
height: auto;
}
#header {
color: #333;
width: 825px;
height: 150px;
float: left;
padding: 0px;
border-bottom: none;
border-top: 1px solid #000;
border-right: 10px solid #000;
border-left: 10px solid #000;
background-image:url(images/background/WholeBanner08_836x140.png);
background-attachment: fixed;
background-position: top;
background-repeat:no-repeat;
height: 206px;
margin: 10x 0px 5px 0px;
background:#4e4e4e;
}
#navigation {
float: left;
width: 850px;
color: #333;
padding: 10px;
border: 1px solid #ccc;
margin: 0px 0px 5px 0px;
background-color:#4e4e4e;
}
#leftcolumn {
color: #333;
border: 1px solid #ccc;
background:#4e4e4e;
margin: 0px 5px 5px 0px;
padding: 10px;
height: 350px;
width: 175px;
float: left;
}
#content {
float: left;
color: #333;
border: 1px solid #ccc;
background:#4e4e4e;
margin: 0px 5px 5px 0px;
padding: 10px;
height: 350px;
width: 450px;
display: inline;
}
#rightcolumn {
color: #333;
border: 1px solid #ccc;
background:#4e4e4e;
margin: 0px 0px 5px 0px;
padding: 10px;
height: 350px;
width: 175px;
float: left;
position: relative;
}
.clear { clear: both; }
html/php code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>3 Column - fw-39-3-col</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="styles.css" />
<style type="text/css">
<!--
body,td,th {
font-family: Lucida Console, Monaco, monospace;
color: #FFF;
font-size: 12px;
}
body {
background-color: #4e4e4e;
}
a {
font-family: Lucida Console, Monaco, monospace;
font-size: 12px;
color: fff362;
}
a:visited {
color: fff362;
}
a:hover {
color: #FFF;
}
a:active {
color: #FFF;
}
-->
</style></head>
<body bgcolor="#4e4e4e" text="#FFFFFF">
<!-- Begin Wrapper -->
<div id="wrapper">
<!-- Begin Header -->
<div id="header"><h2> </h2>
<h2> </h2>
<p> </p>
<h2> </h2>
<h2> </h2>
<p> </p>
<h2><br />
</h2>
<h2><form method="get" action="http://poplegacy.planets.gamespy.com/search.php" target="_top">
<table width="827" border="0" bgcolor="#000000">
<tr>
<td width="54" height="32" align="left" valign="top" nowrap="nowrap" class="style1"><p> </p>
<p><strong><a href="http://www.google.com/"><img src="http://www.google.com/logos/Logo_25blk.gif" border="0" alt="Google" align="middle"></img></a></strong></p></td>
<td width="749" nowrap="nowrap" class="style1"><strong><br>
<input type="hidden" name="domains" value="poplegacy.planets.gamespy.com">
</input>
<label for="sbi" style="display: none">Enter your search terms</label>
<input type="text" name="q" size="64" maxlength="255" value="" id="sbi">
</input>
<label for="sbb" style="display: none">Submit search form</label>
<input type="submit" name="sa" value="Search" id="sbb">
</input>
</strong></td>
</tr>
<tr>
<td class="style1"> </td>
<td nowrap="nowrap" class="style1"><table>
<tr>
<td><strong>
<input type="radio" name="sitesearch" value="" checked id="ss0">
</input>
<label for="ss0" title="Search the Web"><font size="-1">Web</font></label>
</strong></td>
<td><strong>
<input type="radio" name="sitesearch" value="poplegacy.planets.gamespy.com" id="ss1">
</input>
<label for="ss1" title="Search poplegacy.planets.gamespy.com"><font size="-1">Prince of Persia Legacy</font></label>
</strong></td>
</tr>
</table>
<strong>
<input type="hidden" name="client" value="pub-0957974631644706">
</input>
<input type="hidden" name="forid" value="1">
</input>
<input type="hidden" name="channel" value="9729260783">
</input>
<input type="hidden" name="ie" value="ISO-8859-1">
</input>
<input type="hidden" name="oe" value="ISO-8859-1">
</input>
<input type="hidden" name="safe" value="active">
</input>
<input type="hidden" name="flav" value="0000">
</input>
<input type="hidden" name="sig" value="twMrVeHElcpelkTP">
</input>
<input type="hidden" name="cof" value="GALT:#FFF38A;GL:1;DIV:#000000;VLC:FFF38A;AH:center;BGC:1D3855;LBGC:1D3855;ALC:FFF38A;LC:FFF38A;T:FFFFFF;GFNT:FFF38A;GIMP:FFF38A;FORID:11">
</input>
<input type="hidden" name="hl" value="en">
</input>
</strong></td>
</tr>
</table>
</form>
<strong><span class="style1">
<!-- SiteSearch Google --></span></strong></h2>
</div>
<!-- End Header -->
<!-- Begin Navigation -->
<div id="navigation"> Navigation Here </div>
<!-- End Navigation -->
<!-- Begin Left Column -->
<div id="leftcolumn"> Left Column </div>
<!-- End Left Column -->
<!-- Begin Content Column -->
<div id="content"> This is the content </div>
<!-- End Content Column -->
<!-- Begin Right Column -->
<div id="rightcolumn"> Right Column
<div class="clear"> </div>
</div>
<!-- End Right Column -->
</div>
<!-- End Wrapper -->
</body>
</html>
In Dreamweaver:
![2vmsyo7.jpg](http://i42.tinypic.com/2vmsyo7.jpg)
In Firefox/IE8:
![29or0xu.jpg](http://i41.tinypic.com/29or0xu.jpg)
Thank you guys for the help...