Was einfach klingt und im Grunde vermutlich auch ist bereitet mir gerade große Probleme.
Ich hänge mal ein Bild an.
tabellen.png
Ich möchte nun, dass die Tabelle "Software" 10px unter der Tabelle "Allgemein" anfängt. Momentan orientiert sie sich ja an der Tabelle "System". Könnt ihr mir bitte sagen, wie das funktioniert?
Ich packe mal den Code hier rein. Ich habe diesen etwas gekürzt, damit jetzt nicht jede Zeile der Tabelle drin ist. Sollte ja nicht nötig sein.
Ich hänge mal ein Bild an.
tabellen.png
Ich möchte nun, dass die Tabelle "Software" 10px unter der Tabelle "Allgemein" anfängt. Momentan orientiert sie sich ja an der Tabelle "System". Könnt ihr mir bitte sagen, wie das funktioniert?
Ich packe mal den Code hier rein. Ich habe diesen etwas gekürzt, damit jetzt nicht jede Zeile der Tabelle drin ist. Sollte ja nicht nötig sein.
HTML-Code:
<!-- Anfang Hauptinhalt --> <?php $computer = readOneComputer($_GET['computerid']); ?> <div id="main"> <div class="headline"> Details von <?= htmlspecialchars($computer['computerNname']) ?> </div> <!-- Angang Leerzeile --> <div class="leerzeile"> </div> <!-- Ende Leerzeile --> <!-- Anfang Allgemein --> <div> <table style="width:400px; float: left;"> <tr> <th colspan="2"><span>Allgemein</span></th> </tr> <tr> <td style="width: 150px;">Modell</td> <td></td> </tr> </table> </div> <!-- Ende Allgemein --> <!-- Anfang System --> <div> <table style="width:400px; margin-left: 410px;"> <tr> <th colspan="2"><span>System</span></th> </tr> <tr> <td style="width: 150px;">Betriebssystem</td> <td></td> </tr> </table> </div> <!-- Ende System --> <!-- Anfang Software --> <div> <table style="width:400px; float: left;"> <tr> <th colspan="2"><span>Software</span></th> </tr> <tr> <td style="width: 150px;">Citrix Workspace</td> <td></td> </tr> </table> </div> <!-- Ende Software --> <!-- Angang Leerzeile --> <div class="leerzeile"> </div> <!-- Ende Leerzeile --> <!-- Anfang Monitor --> <div> <table style="width:400px; margin-left: 410px;"> <tr> <th colspan="2"><span>Monitor</span></th> </tr> <tr> <td style="width: 150px;">Modell</td> <td></td> </tr> </table> </div> <!-- Ende Monitor --> </div> <!-- Ende Hauptinhalt -->
Kommentar