M
Maik
Da unsere Lösungsvorschläge das Problem nicht 'browserübergreifend' lösen konnten, habe ich mal einen ganz anderen Weg in der Positionierung gewählt und das DIV#subnavi mit festen Angaben positioniert, sowie das DIV#content mittels float:right am rechten Seitenrand ausgerichtet; ... it works
Code:
div#subnavi
{
position: absolute;
top: 80px;
left: 0px;
width: 80px;
margin: 0px;
background-color: #358;
border: none;
border-right: solid 1px #246;
color: #fff;
font-family: 'Bitstream Vera Sans', Verdana, sans-serif;
font-size: 11px;
}
div#content
{
float: right;
margin: 0px;
margin-bottom: 10px;
margin-left: 90px;
padding: 3px;
border: solid 1px #246;
border-right: none;
background-color: #358;
color: #fff;
}
- Browsercheck: FF 1.0.7, IE 6.0, MOZ 1.6, NN 7.0, OP 8.50
Code:
html, body
{
margin: 0;
padding: 0;
}
body
{
background-color:#68b;
height:100%;
}
a
{
color:#acf;
text-decoration:none;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
}
a:hover
{
text-decoration:underline;
}
h1
{
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
border-bottom:solid 1px #246;
padding:3px;
margin:-3px;
margin-bottom:10px;
}
h2
{
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
margin-bottom:10px;
}
h3
{
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
margin-bottom:5px;
}
div
{
margin-left:30px;
margin-bottom:10px;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:12px;
}
span.i
{
font-style:italic;
}
span.b
{
font-weight:bold;
}
span.u
{
text-decoration:underline;
}
table
{
position:relative;
border:solid 1px #246;
margin-bottom:10px;
width:100%;
}
td
{
color:#fff;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
vertical-align:top;
font-size:12px;
padding:3px;
}
th
{
color:#fff;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:12px;
background-color:#246;
padding:3px;
text-align:left;
}
th.h1
{
font-size:18px;
background-color:#246;
}
input
{
background-color:#68b;
color:#fff;
border:solid 1px #246;
padding:1px;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:12px;
}
input.button
{
padding:1px 10px;
}
input:hover
{
background-color:#8ad;
color:#fff;
}
textarea
{
background-color:#68b;
color:#fff;
border:solid 1px #246;
padding:1px;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:12px;
}
textarea:hover
{
background-color:#8ad;
color:#fff;
}
select
{
background-color:#68b;
color:#fff;
border:solid 1px #246;
padding:1px;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:12px;
}
option
{
background-color:#68b;
color:#fff;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:12px;
}
/***** LAYOUT *****/
div#navi
{
width:100%;
height:82px;
min-width:780px;
margin:0px;
background-color:#358;
border:none;
border-bottom:solid 1px #246;
color:#fff;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:11px;
}
div#navi a
{
display:block;
float:left;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:11px;
text-decoration:none;
color:#fff;
text-align:center;
padding:1px;
border:none;
border-right:solid 1px #246;
background-color:#358;
width:80px;
height:80px;
}
div#navi a:hover
{
background-color:#469;
}
div#navi a img
{
border:none;
}
div#navi div#logo
{
margin:0px;
float:left;
font-family:'Bitstream Vera Sans', Verdana, sans-serif;
font-size:11px;
color:#fff;
text-align:center;
padding:1px;
border:none;
border-right:solid 1px #246;
background-color:#358;
width:100px;
height:80px;
}
div#subnavi
{
position: absolute;
top: 80px;
left: 0px;
width: 80px;
margin: 0px;
background-color: #358;
border: none;
border-right: solid 1px #246;
color: #fff;
font-family: 'Bitstream Vera Sans', Verdana, sans-serif;
font-size: 11px;
}
div#subnavi a
{
display:block;
font-family:'Bitstream Vera Sans', 'Verdana', sans-serif;
font-size:11px;
text-decoration:none;
color:#fff;
text-align:center;
padding:1px;
border:none;
border-bottom:solid 1px #246;
background-color:#358;
text-align:center;
width:78px;
}
div#subnavi a:hover
{
background-color:#469;
}
div#subnavi a img
{
border:none;
}
div#navibar
{
position:relative;
margin:0px;
margin-top:10px;
margin-bottom:10px;
margin-left:90px;
padding:3px;
border:solid 1px #246;
border-right:none;
background-color:#358;
color:#fff;
}
div#content
{
float: right;
margin: 0px;
margin-bottom: 10px;
margin-left: 90px;
padding: 3px;
border: solid 1px #246;
border-right: none;
background-color: #358;
color: #fff;
}
/***** SPECIAL *****/
div#error
{
position:relative;
font-family:'Bitstream Vera Sans', 'Verdana', sans-serif;
background-color:#fff;
color:#f00;
border:solid 1px #f00;
border-right:none;
padding:3px;
margin:0px;
margin-top:10px;
margin-bottom:10px;
z-index:2;
}
div#error h1
{
font-family:'Bitstream Vera Sans', 'Verdana', sans-serif;
background-color:#f00;
color:#fff;
border:none;
font-size:16px;
font-weight:bold;
padding:3px;
margin:-3px;
margin-bottom:3px;
}
a.button_small
{
border:solid 1px #246;
background-color:#358;
text-decoration:none;
color:#fff;
padding:1px;
padding-left:5px;
padding-right:5px;
margin-right:3px;
font-size:10px;
}
a.button_small:hover
{
background-color:#469;
text-decoration:none;
}
a.button
{
display:block;
float:left;
border:solid 1px #246;
background-color:#358;
text-decoration:none;
text-align:center;
color:#fff;
padding:3px;
margin-right:3px;
font-size:12px;
width:100px;
}
a.button:hover
{
background-color:#469;
text-decoration:none;
}