Tabellenzelle ersteckt sich nicht über Bildschirmbreite
Hallo
In folgendem Test erstreckt sich die Tabelle "banner" nicht über die gesamte Bildschirmbreite - wieso?
Hallo
In folgendem Test erstreckt sich die Tabelle "banner" nicht über die gesamte Bildschirmbreite - wieso?
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="de" lang="de" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta name="author-personal" content="Stefan Mueller" />
<meta name="author-mail" content="mailto:[email protected]" />
<!-- <meta name="ICBM" content="51.502612, 7.448462" /> Regionale Ortsbestimmung eines Angebotes -->
<meta name="robots" content="noodp" /> <!-- verhindertert, dass ggogle und Co auf odp Daten zurückgreifen -->
<meta name="description" content="" />
<meta name="language" content="de" />
<meta name="robots" content="index, follow" />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<link rel="stylesheet" href="css/standard1.css" type="text/css" media="all" />
<!--[if lte IE 7]><link rel="stylesheet" href="css/ie-standard1" type="text/css" media="all" /><![endif]-->
<style type="text/css">
* {margin:0; padding:0;}
html {width:100%; height:100%;}
body {width:100%; height:100%;background:black;}
#des {table-layout:fixed; border-collapse:collapse; empty-cells:show; speak-header:once; border-spacing:5px; display:block; width:100%; min-height:100%;}
#menu {background:red;}
#content {background:blue;}
#banner {background:yellow; height:194px;}
#fuss {background:brown;}
td {border:1px solid green;}
</style>
</head>
<body>
<table id="des" cellpadding="0" cellspacing="0">
<tr id="banner">
<td colspan="3">banner</td>
</tr>
<tr>
<td id="menu"></td>
<td id="content"></td>
<td rowspan="2" id="rechts"></td>
</tr>
<tr>
<td colspan="2" id="fuss"></td>
</tr>
</table>
<!-- ende box -->
</body>
</html>
Zuletzt bearbeitet von einem Moderator: