Hallo Zusammen,
habe folgendes Problem:
Möchte in einer Zelle eine andere Zelle in der Mitte ausrichten. Dies geht bei IE 6 ohne Probleme, aber im Firefos lässt sich nur Text ausrichten, aber die die Zelle.
Habe dies mit "text-align:center" Versucht auszuríchten, leider ohne Erfolg. Hat noch einer ne Idee ?
Anschauen könnt ihr euch das unter:
>http://www.feg-goch.de/Feg-neu/seiten/test2.php
Hier mal der Code:
<html>
<head>
<style type="text/css">
.layoutinfo {
background-color :#ffb061;
height: 25px;
width: 980px;
}
.layoutlinks {
background-color :#ffb061;
height: 200px;
width: 180px;
}
.layoutmitte {
background-color :#ecedef;
width: 620px;
vertical-align:top;
padding-top:20px;
text-align:center;
}
.layoutrechts {
background-color :#ffb061;
width: 180px;
}
.thematitel{
color:#fff;
background-color:#E21A1A;
height: 20;
text-align: center;
}
/* Themenfenster Mitte Thema*/
.themainhalt{
width: 540;
background-color :#fff;
overflow:visible;
text-align:justify;
padding: 10px;
border-style: solid;
border-color: #CD330A;
border-width: 2px;
}
</style>
</head>
<body >
<table cellspacing="0" border= "0" >
<tr>
<td class="layoutinfo" colspan="3" >
Bereich A
</td>
</tr>
<tr>
<td class="layoutlinks">
Bereich B
</td>
<td class="layoutmitte">
Bereich D
<div id="themenfenster">
<table cellspacing="0">
<tr>
<td class="thematitel">
Test 1
</td>
<td class="leerzelle"></td>
</tr>
<tr>
<td colspan="2" class="themainhalt">
Test 2
</td>
</tr>
</table>
</div>
</td>
<td class="layoutrechts">
Bereich C
</td>
</tr>
</table>
</body>
</html>
Gruß Detlef, danke für euere Hilfe