Forum Moderators: not2easy
Here is my CSS (code is probably dodgy but I'm new):
body
{
background-color:#212121;
background-image: url(images/gradbg.gif);
background-position:top;
background-repeat:repeat-x;
margin:0px;
}
#container
{
width:100%;
margin:0px;
border:none;
line-height:125%;
}
#header
{
height:263px;
width:1003px;
background-image: url(images/headerp.gif);
background-repeat:no-repeat;
background-color:#212121;
margin:0px;
border:none;
}
#announcement
{
border-left: dashed 1px #ffffff;
border-right: dashed 1px #656565;
border-bottom: groove;
background-color:#333334;
background-image:url(images/contentbar.gif);
background-position:top;
background-repeat:no-repeat;
width:600px;
margin-right:70px;
margin-top:30px;
padding-top:30px;
padding-left:10px;
padding-right:10px;
padding-bottom:10px;
}
#left
{
border-left: dashed 1px #ffffff;
border-right: dashed 1px #656565;
border-bottom: groove;
float:left;
background-color:#272728;
background-image:url(images/linkbar.gif);
background-position:top;
background-repeat:no-repeat;
width:200px;
margin-top:30px;
margin-left:70px;
padding-top:30px;
padding-left:10px;
padding-right:10px;
padding-bottom:10px;
}
#content
{
border-left: dashed 1px #ffffff;
border-right: dashed 1px #656565;
border-bottom: groove;
float:right;
background-color:#333334;
background-image:url(images/contentbar.gif);
background-position:top;
background-repeat:no-repeat;
width:600px;
margin-right:70px;
margin-top:30px;
padding-top:30px;
padding-left:10px;
padding-right:10px;
padding-bottom:10px;
}
#footer
{
height:146px;
width:1003px;
background-color:#404040;
background-image: url(images/footerm.gif);
background-repeat:no-repeat;
margin-top:30px;
margin-right:0px;
margin-bottom:0px;
margin-left:0px;
border:none;
}
#bottomlinkbar
{
background-color:#333334;
background-image: url(images/linkbar.gif);
background-position:bottom;
background-repeat:no-repeat;
}
#paypal
{
border-left: dashed 1px #ffffff;
border-right: dashed 1px #656565;
border-bottom: groove;
float:left;
color:#CCCCCC;
background-color:#272728;
background-image:url(images/linkbar.gif);
background-position:top;
background-repeat:no-repeat;
width:200px;
margin-top:60px;
margin-left:70px;
padding-top:40px;
padding-left:10px;
padding-right:10px;
padding-bottom:10px;
}
#advertisement
{
height:60px;
width:468px;
margin-top:20px;
margin-bottom:0px;
background-color:#333334;
border: dashed 1px #ffffff;
}
#highlight
{
color:#ffffff;
background-color:#272728;
border-top:groove;
border-bottom:groove;
}
#green
{
color:#1cb211
}
#orange
{
color:#df7f0e
}
#yellow
{
color:#FFFF00
}
table
{
color:#333333;
background-color:#ffffff;
empty-cells:show;
}
img
{
border:none
}
ul
{
background-image: url(images/navtile.gif);
background-color:#4e4e4d;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a
{
width:6em;
text-decoration:none;
color:white;
background-color:#4e4e4d;
padding:0.2em 0.6em;
border-right:5px solid white;
}
a:hover
{
color:#ffffff;
background-color:#10acc0;
}
a:link
{
color:#ffffff
}
a:visited
{
color:#ffffff
}
a:active
{
color:#10acc0;
background-color:#10acc0;
text-decoration: underline;
}
li
{
display:inline
}
p
{
color:#CCCCCC
}
h1,h2,h3,h4,h5,h6
{
color:#CCCCCC
}
small
{
font-size:9px
}
and my HTML:
<!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">
<head>
<link rel="stylesheet" href="http://www.example.com/css_style.css" type="text/css" media="screen" />
<meta http-equiv="Graphics, webhosting, buy, sell, templates, forum, forum skins, logos, wallpapers, signatures, display pictures" content="text/html; charset=iso-8859-1" />
<title>Example.com</title>
</head>
<body>
<div id="container">
<div id="header">
</div>
<div align="center">
<ul>
<li><a href="http://www.example.com/index.html">Home</a></li>
<li><a href="http://www.example.com/forum">Forum</a></li>
<li><a href="http://www.example.com/webhosting.html">Web-Hosting</a></li>
<li><a href="http://www.example.com/market.html">Market</a></li>
<li><a href="http://www.example.com/contact.html">Contact</a></li>
</ul>
</div>
<div align="center">
<div id="announcement">
<h3>Announcements:</h3>
<p>No current announcements</p>
</div>
</div>
<div align="center">
<div id="advertisement">
(Advertisement)
</div>
</div>
<div id="left">
<p>Services:</p>
<p><a href="http://www.example.com/webhosting.html">Website Hosting</a></p>
<p>Business Graphics:</p>
<p><a href="http://www.example.com/templates.html">Website Templates</a></p>
<p><a href="http://www.example.com/skins.html">Forum Skins</a></p>
<p><a href="http://www.example.com/logos.html">Logos</a></p>
<p><a href="http://www.example.com/3dmodels.html">3D Models</a></p>
<p><a href="http://www.example.com/customrequests.html">Custom Requests</a></p>
<p>Personal Graphics:</p>
<p><a href="http://www.example.com/wallpapers.html">Wallpapers</a></p>
<p><a href="http://www.example.com/signatures.html">Signatures</a></p>
<p><a href="http://www.example.com/displaypictures.html">Display Pictures</a></p>
</div>
<div id="content"><p>
Content
</p>
<div align="center">
<table width="100%" style="background-color:#333334; empty-cells:hide">
<tr>
<td><a style="background:none; border-right:none;" href="http://www.example.com/market.html"><img src="http://www.example.com/images/marketbutton.png" alt="Graphic Market" /></a></td>
<td><a style="background:none; border-right:none;" href="http://www.example.com/webhosting.html"><img src="http://www.example.com/images/hostingbutton.png" alt="Web Hosting" /></a></td>
</tr>
</table>
</div>
</div>
<div id="paypal" align="center">
Paypal
</div>
<div id="paypal" align="center">
</div>
<div id="paypal" align="center">
</div>
<div id="footer">
</div>
</div>
</body>
</html>