Hi
Ich habe ein problem und zwar, wird glaub ich der margin Wert bei meinem #content bereich nicht beachtet.
Hier ist mein Code, ich hoffe ihr könnt mir helfen.
Thx
style.css
index.html
Ich habe ein problem und zwar, wird glaub ich der margin Wert bei meinem #content bereich nicht beachtet.
Hier ist mein Code, ich hoffe ihr könnt mir helfen.
Thx
style.css
HTML:
body {
padding: 0px;
height: 100%;
margin: 0px;
background-image: url(images/bgs.jpg);
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
}
#container {
width: 800px;
margin: 0 auto;
background-image: url(images/bgs.jpg);
}
#header {
background-color: #4978dc;
background-image: url(images/logo.jpg);
width: 800px;
height: 130px;
border: 1px solid black;
margin-bottom: 8px;
}
.leftCol { /* linke Spalte */
width: 150px;
float: left;
}
.centerCol {
width: 480px;
margin: 0px 10px 0px 10px;
}
.rightCol { /* rechte Spalte */
width: 150px;
float: right;
}
#content {
background-color: #efefef;
min-height: 450px;
border: 1px solid black;
width: 480px;
margin: 0px 10px 0px 10px;
padding: 20px;
padding-right: 20px;
}
.box {
background-color: #efefef;
width: 150px;
border: 1px solid black;
margin-bottom: 8px;
background-image: url(images/box-bg.gif);
padding-top: 65px;
}
#footer {
background-color: #efefef;
width: 634px;
margin-top: 8px;
border: 1px solid black;
height: 20px;
padding: 3px;
}
/* A LINKS */
a:link {
font-size: 12px;
color : #367cce;
font-weight : bold;
text-decoration: none;
}
a:active {
font-size: 12px;
color : #367cce;
font-weight : bold;
text-decoration: none;
}
a:visited {
font-size: 12px;
color : #367cce;
font-weight : bold;
text-decoration: none;
}
a:hover {
font-size: 12px;
color: #FF6600;
font-weight : bold;
text-decoration: none;
}
index.html
HTML:
<div id="container">
<div id="header">
Header
</div>
<div class="leftCol">
<div class="box">
LeftCol
</div>
</div>
<div id="content">
Content
</div>
<div class="rightCol">
<div class="box">
RightCol
</div>
</div>
</div>