12-27-2008, 08:26 PM
|
#8 (permalink)
|
|
The Contributor
Join Date: Oct 2008
Posts: 75
Thanks: 4
|
Sure
Code:
body {
font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif;
font-size: 10px;
color: #FFFFFF;
margin: 0px;
padding: 0px;
background: #1c2932 url(../images/bg_nav.jpg) repeat-x left top;
}
/* Layout design */
#wrapper {
position: relative;
margin: 0 auto;
padding: 0px;
width: 780px;
height: 0px;
}
hr {
border: 0;
color: #9E9E9E;
background-color: #9E9E9E;
height: 1px;
width: 100%;
}
ul {
list-style: none;
margin: 0px;
padding: 0px;
}
li {
list-style-type: none;
list-style-position: outside;
padding: 0px;
margin: 0px;
height: 14px;
width: 100%;
}
/* Font styles */
.navtxt {
padding-top: 10px;
font-weight: bold;
}
.attention {
font-weight: bold;
}
/* Link Styles */
a:link, a:active {
color: #FFFFFF;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.nav {
display: block;
background: #142129;
padding: 0px;
margin-top: 1px;
padding-top: 2px;
}
/* Main DIVs */
.navleft {
width: 100px;
float: left;
display: block;
height: 50px;
overflow: hidden;
}
.navright {
width: 150px;
float: right;
display: block;
height: 50px;
overflow: hidden;
}
.contentleft {
top: 0px;
margin: 0px;
width: 500px;
float: left;
display: block;
background: #FFFFFF;
color: #000000;
overflow: hidden;
height: 100px;
}
.contentright {
top: 0px;
left: 0px;
margin: 0px;
width: 141px;
float: right;
display: block;
color: #FFFFFF;
overflow: hidden;
height: 400px;
}
The code you gave me is under /* Main DIVs */ and the classes are navleft, navright, contentleft and contentright
hm I'm wondering, maybe, its not working because I dont have wrappers for the actual content. Maybe it will work if I wrap navleft and navright together and contentleft and contentright together? that way it doesn't conflict with any other DIVs but the ones inside the wrapper?
|
|
|
|