Hi Leute,
bin leider wieder auf ein Problem auf meiner Seite gestoßen ... Mein main-div richtet sich anscheinend falsch aus ... An was könnte das liegen? Aber seht selbst: TSV Hartberg
Hoffe ihr könnt mir weiterhelfen. Danke schonmal im Vorraus!
Hier der HTML-Code: Den für die Leiste bzw. den Top-Teil ist unnötig, deshalb behalte ich mir den vor ...
Und natürlich der CSS-Code:
bin leider wieder auf ein Problem auf meiner Seite gestoßen ... Mein main-div richtet sich anscheinend falsch aus ... An was könnte das liegen? Aber seht selbst: TSV Hartberg
Hoffe ihr könnt mir weiterhelfen. Danke schonmal im Vorraus!

Hier der HTML-Code: Den für die Leiste bzw. den Top-Teil ist unnötig, deshalb behalte ich mir den vor ...
Code:
<!--<div class="sub">-->
<div class="box3">
<div class="Abstand"></div>
<a href="http://www.so-stmk.volksbank.at/"><img src="img/VogelVolksbank.jpg"border=0></a>
<script language='javascript' src='JavaScript/small_slide1.js'></script>
<script language='javascript' src='JavaScript/slide_small_2.js'></script>
<div class="ipzaehler">
<?php
include "php/Besucherzaehler/ipcounter.php";
?>
</div>
</div>
<div class="strich">
<img src="img/Arschloch copy.jpg">
</div>
<div class="box4">
<h1>Galerie des TSV Hartberg Volksbank Tennis</h1>
<div class="strichhoriz">
<img src="img/strichhorizontal.jpg">
</div>
<script language='javascript' src='spgm.js'></script>
<script language='javascript' src='contrib/overlib410/overlib.js'></script>
<table class="wrapper">
<tr>
<td id="topleft"> </td>
<td id="top"> </td>
<td id="topright"> </td>
</tr>
<tr>
<td id="left"> </td>
<td id="center">
<p><span id="title"></p>
<?php require("spgm.php"); ?>
</td>
<td id="right"> </td>
</tr>
<tr>
<td id="bottomleft"> </td>
<td id="bottom"> </td>
<td id="bottomright"> </td>
</tr>
</table>
<!--</div>-->
</div>
<div class="verbaende">
<div class="fuell">
</div>
<div class="verbaende1">
<a href="http://www.asvoe.at/de"><img src="img/ASVoeweis.jpg"border=0></a>
</div>
<div class="verbaende2">
<a href="http://www.oetv.at/"><img src="img/owtvweis.jpg"border=0></a>
</div>
<div class="verbaende3">
<a href="http://www.tennissteiermark.at/"><img src="img/STTVweis.jpg"border=0></a>
</div>
</div>
</div>
<div class="box5">
</div>
<div class="box6">
<div align="left" style="width:375px;float:left"><a href="login.php">Login</a></div><div align="center" style="width:376px;float:left">©2012 by Christian Allmer & Christian Pichler</div><div align="right" style="width:375px;float:left">TSV Hartberg Volksbank Tennis</div>
</div>
</body>
</html>
Und natürlich der CSS-Code:
Code:
body{
margin: 7% auto;
padding:0px;
width:1126px;
background-image:url(img/background.jpg);
background-repeat:no-repeat;
background-attachment:fixed;
}
h1{
font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:32px;
font-weight:bold;
font-style:italic;
margin-bottom:10px;
margin-left:60px;
margin-top:50px;
color:#888888;
}
#main{
background:white;
height:auto;/*1934*/
width:1126px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
}
.box1{
background-image:url(img/top.jpg);
height:250px;
width:100%;
}
/* CSS für das Menü */
.menu_container {
margin: 0 auto 20px auto;
position: relative;
width: 1126px;
height: 20px;
z-index: 100;
}
.menu, .menu ul {
padding: 0;
margin: 0;
list-style: none;
position: absolute;
}
.menu ul {
left: -9999px;
width: 125px;
padding: 0 20px 20px 20px;
}
.menu ul ul {
padding: 20px 20px 20px 0;
}
.menu a {
display: block;
width: 124px;
padding-left: 0px;
text-align: center;
font: normal bold 14px/40px arial, sans-serif;
color: #fff;
text-decoration: none;
margin: 0 -1px -1px 0;
background-color: #283daf;
color: white;
border-right: 1px solid grey;
border-left: 1px solid grey;
}
.menu li ul a {
font-weight: bold;
height:29px;
padding-top 0px;
border-bottom: 1px solid grey;
border-top: 1px solid grey;
border-right: 1px solid grey;
border-left: 1px solid grey;
background-color: white;
color: grey;
}
.menu li {
float: left;
border-right:1px
}
.menu li a {
}
.menu li:hover {
position: relative;
z-index: 100;
}
.menu li:hover > a {
background-color: #000080;
color: white;
}
.menu li:hover > ul {
top: 40px;
left: -20px;
z-index: -1;
}
.menu li:hover li:hover > a {
background-color:#e4e4e4;
color: #000080;
border: 2px solid grey;
}
.menu li:hover li:hover > ul {
left: 145px;
top: -20px;
z-index: 100;
}
.menu li.right:hover li:hover > ul {
left: -165px;
top: -20px;
z-index: 100;
padding: 20px 0 20px 20px;
}
.Abstand{
width: 214px;
height: 40px;
}
.sub{
width:auto;
height:auto;
}
.box3{
background-color: white;
float:left;
padding:0px;
width:214px;
height:autopx;
margin:0px;
text-align:center;
}
.flashclass{ /*sample CSS class added to image slideshow container*/
width: 200px; /*a width should be defined for transition to work*/
margin: 50px auto;
}
.flashclass img{
border-width: 0;
}
.animclass{ /*sample CSS class added to image slideshow container*/
width: 200px; /*a width should be defined for transition to work*/
margin: 5px auto;
}
.animclass img{
border-width: 0;
}
.ipzaehler{
width:200px;
height:25px;
font-family: lucida sans, calibri, arial;
font-weight: bold;
margin-left: 5px;
margin-top: 20px;
font-size:10pt;
}
.strich{
float:left;
width: 1px;
height: auto;
}
/* .................................................................................... */
.box4{
/*background-image:url(img/transition2.jpg);*/
margin-left:214px;
padding:0px;
width:911px;
height:auto;
color: blue;
font-family: verdana, arial, "sans-serif";
}
.wrapper {
margin-left: auto;
margin-right: auto;
margin-top: 15px;
border-collapse: collapse;
}
#title {
padding-top: 0px;
padding-bottom: 20px;
font-family: verdana, arial;
font-size: 30px;
font-weight: bold;
color: black;
text-align: center;
}
#center {
background-color: white;
width: 912px;
}
/* ....................................................................................*/
.strichhoriz{
margin-left:60px;
}
.verbaende{
height:140px;
width:1126px;
float:left;
background:white;
}
.fuell{
height:140px;
width:214px;
float:left;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
}
.verbaende1{
height:140px;
width:304px;
background:white;
float:left;
}
.verbaende2{
height:140px;
width:304px;
background:white;
float:left;
}
.verbaende3{
height:140px;
width:254px;
background:white;
float:left;
}
.box5{
height:5px;
float:left;
width:1126px;
}
.box6{
float:left;
width:1126px;
font-family: Calibri, Arial, Helvetica;
font-size:12px;
font-weight: normal;
margin-left:0px;
color: #4E4E4E;
}