ok hey, im no pro like van, but i had a go at fixing it, and well i got it looking sweet. my experience is use % for navs and content areas, so i put your two navs at 15% each, thats about same size as you currently had them, then i put your content at 70% as 70+15+15=100%. and for your text problem. all you had to do was make a class ".class" and add some padding to the top. 4-5px would be good.
anyways i saved it, added it to a .RAR zip. and uploaded it to the server i practise my CSS on. here is the link http://www.lhost.info/hh121/website.rar : if you just want the CSS then here is the big code
CSS
Quote:
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
text-align:center;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
.text
{
padding:5px 0 0 0;
}
#main {
width: 99%;
background-image: url(images/bg.jpg);
border-top: 1px solid #000000;
}
#main2 {
width: 100%;
background-image: url(images/bg.jpg);
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}
#silvbar {
height: 13px;
width: 100%;
border: 1px solid #000000;
background-image: url(images/silverbar.jpg);
border-top: 0px none #000000;
}
#bigorange {
background-color: #EC4801;
width: 100%;
border: 1px solid #000000;
border-top: 0px none #000000;
text-align: left;
}
#leftmenu {
float: left;
margin:-5px 0 0 0;
width: 15%;
}
#rightmenu {
float: right;
margin:-5px 0 0 0;
width: 15%;
}
#content {
}
#conttitle {
background-image: url(images/middle.JPG);
height: 16px;
width: 70%;
margin-top: 5px;
margin-bottom: 0px;
font-weight: bold;
text-transform: capitalize;
color: #000000;
border: 1px solid #000000;
}
#conttmain {
background-color: #EBEBEB;
width: 70%;
margin: 0px;
padding: 0px;
text-align: left;
vertical-align: top;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}
#conttbot {
background-image: url(images/silverbar.jpg);
width: 70%;
margin-bottom: 10px;
border: 1px solid #000000;
}
|
HTML
Quote:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Untitled Document</title>
<link rel="stylesheet" href="Untitled%20Document_files/css.css" type="text/css"></head><body>
<div id="main" align="center">
<div id="silvbar"> </div>
<div id="bigorange"><img src="http://www.webmaster-talk.com/images/logo.gif" alt="Welcome To FunShed" longdesc="http://www.FunShed.com" height="74" width="230"></div>
<div id="silvbar"> </div>
<div id="main2">
<div id="leftmenu">
<div id="conttitle">
<div class="text">Text</div>
</div><div id="conttmain">
Main
</div><div id="conttbot"></div>
</div>
<div id="rightmenu">
<div id="conttitle">
<div class="text">Text</div>
</div><div id="conttmain">
<div class="text">Text</div>
</div><div id="conttbot"></div>
</div>
<div id="content">
<div id="conttitle">
<div class="text">Text</div>
</div><div id="conttmain">
Main
</div><div id="conttbot"></div>
</div>
</div>
<div id="silvbar" style="border-top: 1px solid rgb(0, 0, 0);"> </div>
<div id="bigorange"><center>FunShed® Copyright © 2004-2006 and UK Propery Sorceing Ltd</center></div>
<div id="silvbar"> </div>
</div>
</body></html>
|
Last edited by hellhound121; 05-20-2006 at 10:41 PM..
|