|
|||
Tabelle positionieren
Hallo zusammen
Ich habe ein kleines Problem: Heute werde ich von CSS einfach verarscht. Ich möchte eine kleine Tabelle in der Mitte meines #contents platzieren, doch sie liegt irgendwie weiss ich nicht wo, ausserhalb des #content divs. Hier der Quelltext: Code:
<div class="wrapper_text"> <table id="t1"> <tr> <td class="green">Baum</td><td class="yellow">Werk</td><td class="violett">Sta<sup>dt</sup>/<sub>tt</sub></td> </tr> <tr> <td class="yellow">Werk</td><td class="violett">Sta<sup>dt</sup>/<sub>tt</sub></td><td class="green">Baum</td> </tr> <tr> <td class="violett">Sta<sup>dt</sup>/<sub>tt</sub></td><td class="green">Baum</td><td class="yellow">Werk</td> </tr> </table> <p class="center">Statt <span class="green">Baum</span> Bäume</p> <p class="center">Statt <span class="violett">Stadt</span> Stadtbäume</p> <p class="center">Statt <span class="yellow">Werk</span> Baumwerke</p> </div> Code:
/* --- Baumwerkstadt --- */ table#t1 { width:400px; margin-right:30px; font-weight:bold; font-size:14pt; } .green { color:#339966; font-weight:bold; font-size:14pt; } .yellow { color:#FF9900; font-weight:bold; font-size:14pt; } .violett { color:#993366; font-weight:bold; font-size:14pt; } Ich wäre froh um eure Hilfe. Merci wapplegraph |
Sponsored Links |
Stichwörter |
positionieren, tabelle, table |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Positionieren in einer Tabelle | ELeX | CSS | 7 | 23.07.2009 11:32 |
Fußzeile unter Tabelle, bzw. Layer positionieren | Dylan | CSS | 13 | 11.10.2007 16:44 |
DIV prozentual zur Tabelle positionieren | Bubbleman | CSS | 2 | 11.07.2007 23:43 |
Bild unter Tabelle positionieren | Gloem | CSS | 9 | 18.07.2006 16:41 |