Thread Bilder und Texte anordnen: unter XHTML / CSS (14 answers)
Opened by Crian at 2004-01-20 00:52

KKO
 2004-01-26 21:21
#25515 #25515
User since
2003-11-05
124 Artikel
BenutzerIn

user image
hallo,
die "tabellen"-mäßige darstellung mit css ist, wenn man sich vom gewohnten <table> löst, nicht so besonders komplex.
ein beispiel, um drei spalten anzuzeigen, wobei #mitte sich der fenstergröße anpasst:

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
27
28
<html><head>
<style type="text/css">
#mitte { margin-left: 205px;  margin-right: 205px; }
#links { width: 200px;  float: left;  }
#rechts {width: 200px; float: right; }
</style>
</head><body>

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

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

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

View full thread Bilder und Texte anordnen: unter XHTML / CSS