Thread Dreispaltiges Layout mit CSS: um Tabellen los zu werden (51 answers)
Opened by Crian at 2004-01-31 01:24

KKO
 2004-01-31 11:18
#25556 #25556
User since
2003-11-05
124 Artikel
BenutzerIn

user image
hallo,
hier mal ein beispiel, wie sich der mittel-teil ensprechend der fenstergröße anpasst und rechts und links gleich breit bleiben

Code: (dl )
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
<html><head>
<style type="text/css">
#mitte { border:solid 1px; margin-left:205px;margin-right:205px;}
#links { border:solid 1px;width: 200px;  float: left;  }
#rechts {border:solid 1px;width: 200px; float: right; }
</style>
</head><body>


<div id="links"><h1>LINKS</h1>
 width: 200px;
 float: left;
</div>


<div id="rechts"><h1>RECHTS</h1>
 width: 200px;
 float: right;
</div>

<div id="mitte"><h1>MITTE</h1>
 margin-left: 205px;
 margin-right: 205px;
xxxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
</div>
</body></html>
Gruß
KKO

View full thread Dreispaltiges Layout mit CSS: um Tabellen los zu werden