Paz,
Thanks alot, I only learned CSS at the start of this week. Seems the site I used never went into enough detail or I didnt take it in enough.
"http://www.dtec-addonnis.co.uk" is the site I am doing a content and script rebuild for. I am using CSS and have got as far as
http://www.dtec-addonnis.co.uk/indexbeta2.htm . I am using the CSS as Below;
html, body {
height: 100%;
}
body {
margin: 0px;
padding: 0px;
font-family:Tahoma;
font-size: 75%;
_font-size: 100%;
background-color: #FFFFFF;
}
div {margin: 0px;}
div#header {
border: solid 1px #336633;
clear: both;
font-family: Tahoma;
color: #339933;
background-color: #FFFFFF;
}
div#maincol {
display: table;
float: left;
min-height: 100%;
_height: 100%;
width: 100%;
background-color: #FFFFFF;
}
div#wrapper {display: table-row; vertical-align: top;}/* <- this is needed by Opera */
div#main {
border: solid 1px white;
min-height: 100%;
_height: 100%;
margin-left: 160px;
margin-right: 160px;
background-color: #339933;
color: #FFFFFF;
}
div#col2 {
float: left;
margin-left: -100%;
width: 160px;
background-color: #CCCCCC;
font-family: Tahoma;
color: #339933;
}
div#col3 {float: left; margin-left: -160px; width: 160px; background-color: #FFFFFF;}
ul
{ clear:right;
float:right;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
li {display:inline}
a#nav1
hover: {background-color:#33CC33;}
li {display:inline}
div.colwrapper {margin: 0px;}
div.content {padding: 1em;}
div.content div, pre {overflow: auto;}
div#footer {
border: solid 1px;
clear: both;
}
div.footerbgtrap {
background-color: #339933;
}
/* headings */
h1 {
font-size: 200%;
margin-top: 0;
font-family: Tahoma;
}
h2 {
font-size: 150%;
font-weight: normal;
font-family: Tahoma;
}
ins {
text-decoration: none;
}
object {
border: solid 1px black;
}
ul
{float:right; width:100%; padding:'0'; margin:'0'; list-style-type:none;
#navbar {width: 120px; height:650px;background-color:white;}
div#navbar a:link {
font-size:20px;
font-weight:bold;
color:#FFFFFF;
text-decoration:none;
background-color: #339933;
}
div#navbar a:visited {
font-size:20px;
font-weight:bold;
color: #FFFFFF;
text-decoration:none;
background-color: #339933;
}
div#navbar a:active {
font-size:20px;
font-weight:bold;
color:; text-decoration:none;
color: #FFFFFF;
}
div#navbar a:hover {
font-size:20px;
color:;
text-decoration:underline;
background-color: #33CC33;
color: #FFFFFF;
}
Some of it was from a template because I was having trouble getting the layout just right. The thing that Is bothering me now is the links in the right hand column (navbar div) I would like them to work top down in the centre of the div. Maybe not creating the style from scratch has staoved my learning curve, I feel that alot of this may not be standard after your previous post Paz.
Thanks