• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Wie kann man eine HTML Tabellenhöhe ändern?

Ebstar

Neues Mitglied
Hallo Community.
Ich habe eine Tabelle mit via Excel bei Shopware eingefügt und der HTML-Code sieht wie folgt aus
Code:
<table style="border-collapse: collapse; width: 752pt;" width="1000" border="0" cellspacing="0" cellpadding="0"><colgroup><col style="width: 188pt;" span="4" width="250" /> </colgroup>
<tbody>
<tr style="height: 15.0pt;">
<td class="xl69" style="height: 15pt; width: 188pt; font-size: 11pt; color: white; font-weight: bold; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: black; background-position: initial initial; background-repeat: initial initial;" width="250" height="20">Xerox CopyCentre</td>
<td class="xl70" style="width: 188pt; font-size: 11pt; color: white; font-weight: bold; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: black; background-position: initial initial; background-repeat: initial initial;" width="250">Xerox Phaser</td>
<td class="xl70" style="width: 188pt; font-size: 11pt; color: white; font-weight: bold; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: black; background-position: initial initial; background-repeat: initial initial;" width="250">&nbsp;</td>
<td class="xl71" style="width: 188pt; font-size: 11pt; color: white; font-weight: bold; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: black; background-position: initial initial; background-repeat: initial initial;" width="250">&nbsp;&nbsp;</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl65" style="height: 15pt; font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;" height="20">Xerox CopyCentre C 20</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">Xerox Phaser 3200 MFP</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">&nbsp;</td>
<td class="xl68" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">&nbsp;</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15pt; font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;" height="20">&nbsp;</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;">Xerox Phaser 3200 MFP N</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;">&nbsp;</td>
<td class="xl68" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;">&nbsp;</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15pt; font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;" height="20">&nbsp;</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">Xerox Phaser 3200 MFP V B</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">&nbsp;</td>
<td class="xl68" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">&nbsp;</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15pt; font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;" height="20">&nbsp;</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;">Xerox Phaser 3200 MFP V N</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;">&nbsp;</td>
<td class="xl68" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black;">&nbsp;</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15pt; font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;" height="20">&nbsp;</td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;"><form><select style="width: 165px;" name="menu" onchange="javascript:parent.location = this.form.menu.options[this.form.menu.selectedIndex].value;">
<option selected="selected" value="#">Xerox Phaser 3200 MFP V N</option>
.
.
.
<option value="http://XXXX.kundenweb.net/angebote/22555/umwelttoner-fuer-brother-tn-2000?c=187 ">Xerox Phaser 6280 N</option>
</select></form></td>
<td class="xl67" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">&nbsp;</td>
<td class="xl68" style="font-size: 11pt; color: black; text-underline-style: none; font-family: Calibri; border: 0.5pt solid black; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial;">&nbsp;</td>
</tr>
</tbody>
</table>

Wie kann ich da die Höhe der einzelnen Tabellenzeilen ändern?
<tr style="height: 15.0pt;"> Hab ich schon versucht zu ändern, aber da tut sich nichts :-/

Schonmal DANKE für eure Hilfe!

Ebstar
 
Zuletzt bearbeitet von einem Moderator:
Werbung:
Code:
<table border="1">
        <tr height="200px">
            <td colspan="2">Spalte 2</td>
        </tr>
        <tr>
            <td>Spalte 1</td>
            <td>Spalte 2</td>
        </tr>
    </table>
 
Werbung:
Warum per PN? Dürfen andere nicht an Lösungen teilhaben? Könnte für den ein oder anderen interessant sein.
 
Er hat doch die Lösung geschrieben ;)
In der PN geht es um etwas anderes und hat hiermit nichts zutun also ist das ganze legitim :)
 
Zurück
Oben