Zum Inhalt springen

Probleme mit DIVs

Erstellt am 14. Februar 2007 · 3 Antworten · letzte Antwort am 14. Februar 2007

Tags: Frage

gajoref ·

Haben folgendes Problem beim setzten der div's. Würde gerne den contentbereich zwischen den rechten und linken Menü reinbringen, will aber bei mit nicht funktionieren. Hie ein link zu site
http://www.hsmattersburg.at/HS/

STYLESHEET:

h2,h3,h4,h5,h6,div,p,body,html,input,button {
font: normal 14px Verdana

}

body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}

h1 {
font: normal 20px Verdana;
font-weight: bold;
}

img.block {
display:block;
}

div, img {
margin:0;
padding:0;
border:0;
}

div#container {
width:980px;
border:0px solid silver;
}

div#header { background-color:white; }

/*-----------------------------------*/

div#head {
font: normal 12px Verdana;
font-weight: bold;
padding-top:5px;
padding-bottom:5px;
margin-left: 10px;
background-color:#FFFFFF;
text-decoration: none;
}

div#head a {
text-decoration: none;
color:#FF9734;
}

div#suche{
margin-left:780px;

}

div#links {
float:left;
width:250px;
font-weight: bold;

}


div#oben{
margin-left: 270px;
width:445px;
height: 24 px;
}

div#inhalt{
margin-left:270px;
width:445px;
height:auto;
}

div#unten {
margin-left: 270px;
width:445px;
height: 16px;
}

div#right {
width:180px;
height:auto;
margin-left:780px;
}

.float-left {
float:left;
}

div#footer {
background-color:#FFFFFF;
}

div#menu_unten {
width:20px;
font: bold 10px Verdana,Arial;
clear:both;
text-align:right;
fontColor:#000000;
background-image: url(../fileadmin/images/button_unten.gif);

}

div#top a {
text-decoration: none;
color:black;
}

VORLAGE

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0050)http://www.hsmattersburg.at/HS/fileadmin/root.html -->
<html><head><title>Snowboardschule Meyer-Mueller-Schmidt</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="language" content="de" /><link href="file:///D|/PRAXISWISSEN_TYPO3_2AUFLAGE/QUELLCODE ZUM BUCH/BILDER_UND_DATEIEN/FILEADMIN/fileadmin/style.css" type="text/css" rel="stylesheet" />
<meta content="MSHTML 6.00.5730.11" name="GENERATOR" /></head>
<body><!-- ###DOKUMENT### begin -->
<div id="container">
<div id="header">###LOGO###</div>
<div id="head">###KLICKPFAD### <div id="suche">
<div>###SUCHE### </div></div>
</div>

<div>
<div id="links">
<div>###MENU_LINKS### </div>
<div id="oben">###OBEN###</div>
<div id="inhalt">###INHALT### </div>
<div id="unten">###UNTEN###</div>
</div>

<div id="right">
<div>###RECHTS### </div></div>
<div id="footer">###FOOTER### </div>
<div id="menu_unten">###MENU_UNTEN###
</div></div><!-- ###DOKUMENT### end --></body></html>

Bitte könnte uns wer weiterhelfen!!! #paralyzed#

gajoref ·

hallo,

danke dass du uns helfen möchtest, aber wir arbeiten mit divs und keinen tabellen. oder haben wir einen denkfehler?

vielleicht kannst du ja anhand unseres css und der vorlage helfen.

besten dank im voraus,

fabian