hi
ich hab schon allesmögliche probiert, und ich bekomms nicht hin. im ff funktioniert das einwandfrei , aber im ie stimmt was nicht und ich habe ka why ....
vll weiss jemand rat.
hier die codes:
PHP
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<link rel="shortcut icon" href="favicon.png">
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen">
</head>
<body>
<table id="ground">
<tr>
<td>
<div id="logo">
</div>
<table id="menu">
<tr>
<td>[url='#']menu[/url]</td>
<td>[url='#']hii[/url]</td>
<td>[url='#']hiii[/url]</td>
<td>[url='#']hiiii[/url]</td>
</tr>
</table>
<div id="submenu">
<?php
switch($site) {
case index:
include('menu/index.inc.php');
break;
default:
include('menu/index.inc.php');
}
?>
</div>
<div id="main">
<?php
switch($site) {
case index:
include('index.inc.php');
break;
default:
include('login.inc.php');
}
?>
</div>
</td>
</tr>
</table>
[url='#']<div id="testdiv">HGAAHAA</div>[/url]
</body>
</html>
und jez css:
/* *********************************
* stylesheet of JubWorld *
*-------------------------------*
* copyright by Julian Busch *
********************************* */
/* start fixed */
body,html {
height: 100%;
padding: 0px;
margin: 0px;
}
body {
background-color: #ddd;
font-size: medium;
font-weight: normal;
font-stretch: normal;
text-decoration: none;
color: #000;
text-align: left;
margin: 0px;
padding: 0px;
}
table {
border: 0px;
padding: 0px;
margin: 0px;
border-spacing: 0px;
border-collapse: collapse;
}
h2 {
text-align: center;
}
/* end fixed */
/* start special */
#ground {
margin: 0px;
margin-left: auto;
margin-right: auto;
border-spacing: 0px;
border: 0px solid #000;
width: 1000px;
height: 100%;
background-image: url(../images/back.gif);
background-repeat: repeat-y;
}
#ground tr td {
margin: 0px;
border: 0px solid #000;
width: 1000px;
height: 100%;
padding: 0px;
padding-left: 50px;
}
#logo {
height: 150px;
width: 900px;
background-image: url(../images/logo.gif);
background-repeat: no-repeat;
float: left;
margin: 0px;
}
#submenu {
height: 250px;
width: 130px;
clear: left;
float: left;
margin: 0px;
margin-top: 50px;
background-color: #ddd;
}
#main {
width: 720px;
float: left;
margin: 50px;
padding: 0px;
background-color: #ddd;
}
/* menu
--------------------- */
#menu {
padding: 0px;
margin: 0px;
height: 30px;
width: 900px;
clear: both;
border: 0px;
background-color: #ddd;
}
#menu tr td {
vertical-align: middle;
font-weight: bold;
text-align: center;
height: 30px;
margin: 0px;
padding: 0px;
}
#menu tr td a {
height: 30px;
padding: 5px 5px 6px 5px;
text-decoration: none;
background-image: none;
color: #000;
margin: 0px;
margin-left: 5px;
margin-right: 5px;
border-left: 2px solid #eaeaea;
border-right: 2px solid #eaeaea;
}
#menu tr td a:hover {
text-decoration: none;
color: #126ccc;
background-color: #ffffff;
border-left: 2px solid #126ccc;
border-right: 2px solid #126ccc;
}
#menu tr td a:active {
color: #000;
background-color: #fff;
border-left: 2px solid #505050;
border-right: 2px solid #505050;
}
/* end menu
--------------------- */
/* search
--------------------- */
#menu tr td input {
font-weight: normal;
border: 1px solid #ddd;
background-color: #eee;
width: 100px;
height: 15px;
}
/* end search
--------------------- */
/* end special */
Alles anzeigen
und ich weis dass es nicht perfekt programmiert ist, das kommt alles noch, ich möchte erstma dass es funktioniert.
anschauen kann man das problem in den angehängten bildern oder hier: http://www.jubworld.de/tests/
[Blockierte Grafik: http://upload4.postimage.org/1558048/menu_ie.jpg]
[Blockierte Grafik: http://upload4.postimage.org/1558226/menu_ff.jpg]
danke und mfg