okei, da har jeg støtt på nok ett problem jeg trenger hjelp til.
Forhåpentligvis er det kun snakk om en liten korrigering i css-koden min.
Jeg har laget ett kjapp tegning i paint for å illustrere problemet. (se vedlegg)
Problemet er at teksten i div-taggen #main henger langt nedenfor. Jeg vil at den hvite bakgrunnen skal følge med. skjønner?
Her er css-koden:
body {
background: url(bakgrunn.gif);
text-align:center;
font-size:12px;
margin: 0px auto;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#header {
margin:0 px auto;
background:#1E7BA8;
background: url(banner.png);
width:750px;
height:200px;
margin-bottom:15px;
}
#main {
background:#FFFFFF;
padding:5px;
padding-top:0px;
text-align:left;
margin: 0px auto;
width:750px;
height:100%;
border-right:4px solid #e4e3e2;
border-left:4px solid #e4e3e2;
}
table.one
{
table-layout: automatic
}
table.two
{
table-layout: fixed
}
#text {
float:right;
padding-left:15px;
padding-right:5px;
text-align:left;
margin: 0px auto;
width:500px;
}
#text h1 {
font-size:18px;
font-weight:normal;
background:#9a9998;
padding:4px;
border:1px solid #000000;
width:300px;
color:#000000;
}
.arrowlistmenu{
width: 180px;
}
.arrowlistmenu .headerbar{
font: bold 14px Arial;
color: white;
background:000000;
margin-bottom: 10px;
text-transform: uppercase;
padding: 4px 0 4px 10px;
}
.arrowlistmenu ul{
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 8px;
}
.arrowlistmenu ul li{
padding-bottom: 2px;
}
.arrowlistmenu ul li a{
color: #A70303;
background:ffffff;
display: block;
padding: 2px 0;
padding-left: 19px;
text-decoration: none;
font-weight: bold;
border-bottom: 1px solid #dadada;
font-size: 90%;
}
.arrowlistmenu ul li a:visited{
color: #A70303;
}
.arrowlistmenu ul li a:hover{
color: #A70303;
background-color: #F3F3F3;
}
Forhåpentligvis er det kun snakk om en liten korrigering i css-koden min.
Jeg har laget ett kjapp tegning i paint for å illustrere problemet. (se vedlegg)
Problemet er at teksten i div-taggen #main henger langt nedenfor. Jeg vil at den hvite bakgrunnen skal følge med. skjønner?
Her er css-koden:
body {
background: url(bakgrunn.gif);
text-align:center;
font-size:12px;
margin: 0px auto;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#header {
margin:0 px auto;
background:#1E7BA8;
background: url(banner.png);
width:750px;
height:200px;
margin-bottom:15px;
}
#main {
background:#FFFFFF;
padding:5px;
padding-top:0px;
text-align:left;
margin: 0px auto;
width:750px;
height:100%;
border-right:4px solid #e4e3e2;
border-left:4px solid #e4e3e2;
}
table.one
{
table-layout: automatic
}
table.two
{
table-layout: fixed
}
#text {
float:right;
padding-left:15px;
padding-right:5px;
text-align:left;
margin: 0px auto;
width:500px;
}
#text h1 {
font-size:18px;
font-weight:normal;
background:#9a9998;
padding:4px;
border:1px solid #000000;
width:300px;
color:#000000;
}
.arrowlistmenu{
width: 180px;
}
.arrowlistmenu .headerbar{
font: bold 14px Arial;
color: white;
background:000000;
margin-bottom: 10px;
text-transform: uppercase;
padding: 4px 0 4px 10px;
}
.arrowlistmenu ul{
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 8px;
}
.arrowlistmenu ul li{
padding-bottom: 2px;
}
.arrowlistmenu ul li a{
color: #A70303;
background:ffffff;
display: block;
padding: 2px 0;
padding-left: 19px;
text-decoration: none;
font-weight: bold;
border-bottom: 1px solid #dadada;
font-size: 90%;
}
.arrowlistmenu ul li a:visited{
color: #A70303;
}
.arrowlistmenu ul li a:hover{
color: #A70303;
background-color: #F3F3F3;
}