- Registriert
- 20.02.09
- Beiträge
- 142
irgendwie richtet der die 3 spalten "col3a, col3b und col3c" immer links aus, ich will aber das diese 3 spalten mittig zentriert sind und die mittlere dieser 3 spalten die rechte und linke im notfall nach außen drückt. any idea?
so soll das aussehen:
klappt aba nich...
<html>
<head>
<style type="text/css">
#menue {
position:relative;
top:377px;
width:946px;
height:79px;
z-index:2;
text-align:center;
margin:0 auto;
}
.col3a {
background:#009933;
width:100px;
float: left;
}
.col3b {
background:#FF9966;
overflow: auto;
width:auto;
float:left;
}
.col3c {
background: #CC33CC;
width:100px;
float:left;
}
-->
</style>
</head>
<body>
<div id="menue">
<div align="center">
<div class="col3a">col3a</div>
<div class="col3b">col3b - hier kommen dann die menuepunkte rein</div>
<div class="col3c">col3c</div>
</div>
</div>
</body>
</html>
so soll das aussehen:
klappt aba nich...
<html>
<head>
<style type="text/css">
#menue {
position:relative;
top:377px;
width:946px;
height:79px;
z-index:2;
text-align:center;
margin:0 auto;
}
.col3a {
background:#009933;
width:100px;
float: left;
}
.col3b {
background:#FF9966;
overflow: auto;
width:auto;
float:left;
}
.col3c {
background: #CC33CC;
width:100px;
float:left;
}
-->
</style>
</head>
<body>
<div id="menue">
<div align="center">
<div class="col3a">col3a</div>
<div class="col3b">col3b - hier kommen dann die menuepunkte rein</div>
<div class="col3c">col3c</div>
</div>
</div>
</body>
</html>