Hi Junx...
hab ein kleines Problem mit folgender Tabelle:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37: |
<!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" xml:lang="de">
<head>
<title>height test</title>
</head>
<style>
html { height: 100%; }
body {height: 100%; margin: 0px; padding: 0px; background: #3F638A; font-family:verdana,tahoma,arial,helvetica; font-size:10px; font-weight:normal; color:#000000; }
</style>
<body>
<table border="1" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">
<tr>
<td style="height: 20px; width: 100%;">top nav</td>
</tr>
<tr>
<td style="height: 50px; width: 100%">top</td>
</tr>
<tr>
<td style="height: 20px; width: 100%">navigation</td>
</tr>
<tr>
<td style="height: 100%; width: 100%;">content</td>
</tr>
<tr>
<td style="height: 20px; width: 100%;">bottom</td>
</tr>
</table>
</body>
</html> |
So, nun will ich das top_nav, top, nav und bottom eine feste größe haben und der content sich auf die höhe der page anpasst...in HTML4.01 ging das einwandfrei, nur in XHTML 1.0 will es irgendwie nicht :(
Hat jemand eine Idee ?
Danke für eure Hilfe..
greets,
benny