Moin Moin
Ich bin grade dabei eine Webseite zu erstellen und habe folgendes Problem.
Der erste Eintrag in der LATEST Ansicht des plugins TT-News wird im Firefox und in Opera zu hoch dargestellt das Gleiche gilt auch für die Teaser Ansicht von ve_gustbook.
Dieser Darstellungsfehler tritt im IE nicht auf.
Da ich zurzeit keinen anderen verdacht, als einen Fehler im Template oder in der dazugehörigen CSS-datei, habe, habe ich dieser anfrage den Quelltext der html-datei und der css-datei hinzugefügt.
Ich benutze die Typo3 Version 4.1.3 und Windows xp sp2 sowie den Apache Webserver 2.2.8 in der xampp version1.6.6
Hier das Template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/index.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColElsHdr">
<div id="container">
<div id="header"><!-- end #header --></div>
<div id="subMenue"><!-- end #subMenue --></div>
<div id="liveLine"><!-- end #liveLine --></div>
<div id="menue">
<div id="sidebar1"> <!-- end #sidebar1 --></div>
<div id="logo"><!-- end #logo --></div>
<!-- end #menue --></div>
<div id="clearboth"></div>
<div id="sidebar2"><!-- end #sidebar2 --></div>
<div id="mainContent"><!-- end #mainContent --></div>
<div id="footer"><!-- end #footer --></div>
<div id="clearboth"></div>
<!-- end #container --></div>
<!-- end body class --></body>
</html>
Und hier die css-datei
/* <----Standard css für Webseite ---->*/
@charset "utf-8";
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: White;
margin: 0;
padding: 0;
text-align: center;
color: #000000;
font-family: "Times New Roman", Times, serif;
font-size: medium;
font-weight: normal;
}
A {
color: Black ;
text-decoration: none;
}
A:HOVER {
color: #53101c;
}
.thrColElsHdr #sidebar1 A:focus{
color: #9e1d34;
}
.thrColElsHdr #container {
width: 63em;
background: White;
margin: 0 auto;
text-align: left;
}
.thrColElsHdr #header {
width: 816px;
height: 170px;
background-image: url(../bilder/kopf-nachbau.jpg);
background-repeat: no-repeat;
background-position: center;
}
.thrColElsHdr #header h1 {
margin: 0;
padding: 10px 0;
}
.thrColElsHdr #subMenue {
width: 624px;
height: auto;
background: White;
padding-left:184px;
margin: 0px;
text-align: left;
}
.thrColElsHdr #liveLine {
width: 624px;
height: auto;
background-color: White;
padding-left: 187px ;
text-decoration: underline;
}
.thrColElsHdr #menue {
float: left;
width: 11em;
height: auto;
background: White;
padding: 0px 0;
}
.thrColElsHdr #sidebar1 {
float: left;
width: 11em;
height: auto;
background: White;
padding-top: 32px;
}
.thrColElsHdr #logo {
width: 170px;
height: 154px;
background: White;
margin: 0px;
margin-left: 3px;
float: left;
}
.thrColElsHdr #sidebar2 {
float: right;
/*width: 11em; */
width: 10em;
background: White;
padding-top: 10px;
}
.thrColElsHdr #sidebar1 h3, .thrColElsHdr #sidebar1 p, .thrColElsHdr #sidebar2 p, .thrColElsHdr #sidebar2 h3 {
margin-left: 10px;
margin-right: 10px;
}
.thrColElsHdr #mainContent {
width: 620px;
text-align: left;
background: White;
padding: 10px;
margin-left:180px;
background-color: Silver;
}
.thrColElsHdr #footer {
width: 816px;
height: auto;
padding: 10px;
background: White;
}
.thrColElsHdr #footer p {
margin: 0;
padding: 10px;
}
.fltrt {
float: right;
margin-left: 0px;
}
.fltlft {
float: left;
margin-right: 0px;
}
.clearboth{
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
/* <------- ende Standard css für Webseite---------->*/
Für Eure Hilfe vielen Dank im voraus.
Ralf