CSS layout i 3 kolonner
Jeg har et problem med at dele dette layout op i 3 kolonner:http://www.sitetube.com/krukker/index.php
Resultatet skulle gerne blive noget i denne stil:
http://www.sitetube.com/krukker/three-column.gif
Min CSS kode ser således ud:
* {margin:0;padding:0}
body {
background: #808080;
margin:0 0 10px 10px;
font-size: 0.7em;
line-height: 1.7;
color: #333;
font-family: verdana, arial, helvetica, sans-serif;
text-align: center;
}
#outer {
margin-left: auto;
width: 790px;
margin-right: auto;
text-align: left;
}
#logobox {
background: #ffffff;
width: 790px;
height: 34px;
}
#logobox .strapline {
font: bold 11px verdana, arial, helvetica, sans-serif;
float: right;
margin-right: 34px;
margin-top: 10px;
}
#logobox .logo {
float: left;
margin-left: 1.5em;
margin-top: 10px;
}
.strapline a:link, .strapline a:visited {
text-decoration: none;
color: #000000;
background-color: #FFE89A;
}
.strapline a:hover, .strapline a:active {
background-color: #FF9353;
color: #000000;
}
#banner {
background: #333333;
width: 790px;
height: 90px;
}
#nav {
border-top:1px solid #333 ;
background: #e43100 url(http://www.sitetube.com/krukker/pictures/top-links.gif) no-repeat left center;
width: 790px;
height: 48px;
}
#nav ul {
padding-left: 44px;
padding-top: 14px;
list-style-type: none
}
#nav li {
display: inline
}
#nav li.last a{border-right:none;
}
#nav a {
border-right:1px solid #fff;
padding:0 10px 0;
font-size: 11px;
color: #fff;
text-decoration: none
}
#nav a:hover {
color: #FBCDB2
}
#content {
background: #fff;
float: left;
width: 790px;
}
#left {
float: left;
width: 220px;
background: #fff;
}
.left-inner {
border: #D7D7D7 1px solid;
background: url(pictures/tabletop.gif) no-repeat #fff;
padding-bottom: 10px;
}
.left-outer {
padding: 5px;
background: #f2f2f2;
margin: 10px;
width: 150px;
}
* html .left-outer {
width: 200px;
w\idth:150px
}
.left-outer p,#centre p {
padding: 5px;
margin:0 0 1em 0;
}
#right {
float: right;
width: 220px;
background: #fff;
}
.right-inner {
border: #D7D7D7 1px solid;
background: url(pictures/tabletop.gif) no-repeat #fff;
padding-bottom: 10px;
}
.right-outer {
padding: 5px;
background: #f2f2f2;
margin: 10px;
width: 150px;
}
* html .right-outer {
width: 200px;
w\idth:150px
}
.right-outer p,#centre p {
padding: 5px;
margin:0 0 1em 0;
}
#centre {
float: left;
width: 450px;
}
#centre-inner {
padding:0 5px 10px 10px;
}
/* mac hide \*/
#centre-inner {height:1%;}
/* end hide*/
#centre-inner a {
color: #437AA2;
text-decoration: underline
}
#centre-inner a:hover {
color: #12496E
}
.clearer {
clear: both;
margin-top: -1px;
overflow: hidden;
height: 1px
}
#footer {
background: #e43100 url(pictures/bund.gif) no-repeat left center;
width: 790px;
color: #fff;
height: 39px;
clear:both
}
#footer ul {
padding-left: 250px;
padding-top: 8px;
list-style-type: none
}
#footer li {
display: inline
}
#footer li.last a{border-right:none;
}
#footer a {
border-right:1px solid #fff;
padding:0 10px 0;
font-size: 11px;
color: #fff;
text-decoration: none
}
#footer a:hover {
color: #FBCDB2
}
h1 {
font: 200% Georgia, "Times New Roman", Times, serif;
color: #595959;
}
h2 {
font: 160% Georgia, "Times New Roman", Times, serif;
color: #595959;
}
h3 {
font: bold 12px verdana, arial, helvetica, sans-serif;
color: #595959;
padding-left: 5px;
padding-top: 5px;
padding-bottom: 5px;
}
hr {
border: dotted;
background-color: #AAAAAA;
color: #AAAAAA;
height: 1px;
width: 100%;
}
ul.list1{
list-style-image: url(pictures/pil.gif);
padding-left: 3em;
padding-top: 2px;
line-height: 1.9;
}
.list1 a:link, .list1 a:visited {
font: 11px verdana, arial, helvetica, sans-serif;
color: #336699;
text-decoration: none;
}
.list1 a:hover, .list1 a:active {
color: #000000;
background-color: #F3F3F3;
}