zurück zur Startseite
  


Zurück XHTMLforum > (X)HTML und CSS > (X)HTML
Seite neu laden Tabelle soll in DIV 100% breit sein

Antwort
 
LinkBack Themen-Optionen Ansicht
  #1 (permalink)  
Alt 30.08.2011, 16:50
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 04.09.2009
Beiträge: 10
jannemann befindet sich auf einem aufstrebenden Ast
Standard Tabelle soll in DIV 100% breit sein

Hallo Forum,

über den FCK-Editor habe ich mir eine Tabelle erstellt die eine Breite von 100%hat. Leider habe ich jetzt links und rechts einen Abstand. Ich habe schon einiges versucht aber nichs hat funktioniert. Könnt ihr mir vielleicht einen Tipp geben?

Anbei noch ein Screenshot.

Schöne Grüße,
Jan

Mit Zitat antworten
Sponsored Links
  #2 (permalink)  
Alt 30.08.2011, 17:22
Benutzerbild von David
auch, ja!
XHTMLforum-Kenner
 
Registriert seit: 08.11.2007
Beiträge: 2.626
David ist ein wunderbarer AnblickDavid ist ein wunderbarer AnblickDavid ist ein wunderbarer AnblickDavid ist ein wunderbarer AnblickDavid ist ein wunderbarer AnblickDavid ist ein wunderbarer AnblickDavid ist ein wunderbarer Anblick
Standard

Den Quelltext bitte! Am besten ein Link zum Problem.
__________________
github | http://dnaber.de
Mit Zitat antworten
Sponsored Links
  #3 (permalink)  
Alt 30.08.2011, 17:22
Benutzerbild von Praktikant
Semantikbremse.
XHTMLforum-Kenner
 
Registriert seit: 22.04.2008
Beiträge: 4.985
Praktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz sein
Standard

Kann es sein, dass das umgebende div ein padding hat?

Ein Link zu deinem Testcase wäre angebracht.
__________________
Rettet die Erde.... sie ist der einzige Planet mit Schokolade!
Mit Zitat antworten
  #4 (permalink)  
Alt 30.08.2011, 17:36
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 04.09.2009
Beiträge: 10
jannemann befindet sich auf einem aufstrebenden Ast
Standard

Hi,

ich bastel mit Xampp deswegen kann ich leider keinen Link zum Problem posten. Gibt es nicht eine Anweisung, das ich das padding auf 0 setzen kann?
Mit Zitat antworten
  #5 (permalink)  
Alt 30.08.2011, 17:41
Erfahrener Benutzer
XHTMLforum-Mitglied
 
Registriert seit: 30.07.2003
Beiträge: 179
Karlo wird schon bald berühmt werden
Standard

Hi,

naja es gibt genug kostenlose Anbieter wo man sich Webspace holen kann. Lad es hoch und poste einen Link. Wenn es nicht zu viel Code ist, kann man auch den Quellcode posten.

Danke...
__________________
Gruss Karlo
Mit Zitat antworten
  #6 (permalink)  
Alt 30.08.2011, 18:42
Benutzerbild von Praktikant
Semantikbremse.
XHTMLforum-Kenner
 
Registriert seit: 22.04.2008
Beiträge: 4.985
Praktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz sein
Standard

Zitat:
Zitat von jannemann Beitrag anzeigen
Hi,

ich bastel mit Xampp deswegen kann ich leider keinen Link zum Problem posten.
Das ist allenfalls eine schlechte Ausrede, welche den Satz "Sorry, aber ich habe dazu echt keinen Bock" ganz gut umschreibt.
Zitat:
Zitat von jannemann Beitrag anzeigen
Gibt es nicht eine Anweisung, das ich das padding auf 0 setzen kann?
Gibt es:
Code:
*{padding:0; margin:0;}
Mit margin solltest du dasselbe machen.

Allerdings. Die Glaskugel mit welcher ich diese Aussage traf ist in letzter Zeit nicht mehr so genau...
__________________
Rettet die Erde.... sie ist der einzige Planet mit Schokolade!
Mit Zitat antworten
  #7 (permalink)  
Alt 30.08.2011, 22:00
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 04.09.2009
Beiträge: 10
jannemann befindet sich auf einem aufstrebenden Ast
Standard

Hi,

hier ist der Quellcode:

HTML-Code:
<table style="margin: 0px; padding: 0px 18px;" border="1" cellpadding="0" cellspacing="0" width="99%">
    <colgroup style="margin: 0px; padding: 0px;"><col style="margin: 0px; padding: 0px; width: 81pt;" width="108"><col style="margin: 0px; padding: 0px; width: 44pt;" width="58"><col style="margin: 0px; padding: 0px; width: 51pt;" width="68"><col style="margin: 0px; padding: 0px; width: 54pt;" width="72"><col style="margin: 0px; padding: 0px; width: 50pt;" width="67"><col style="margin: 0px; padding: 0px; width: 59pt;" width="78"><col style="margin: 0px; padding: 0px; width: 68pt;" width="90"><col style="margin: 0px; padding: 0px; width: 41pt;" width="55"><col style="margin: 0px; padding: 0px; width: 46pt;" width="61"><col style="margin: 0px; padding: 0px; width: 44pt;" width="59"></colgroup>
    <tbody style="margin: 0px; padding: 0px;">
        <tr style="margin: 0px; padding: 0px; height: 38.25pt;" height="51">
            <td class="xl66" style="margin: 0px; padding: 2px; height: 38.25pt; width: 81pt;" height="51" width="108"><strong style="margin: 0px; padding: 0px;">Typ</strong></td>
            <td class="xl70" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            kg</strong></td>

            <td class="xl70" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            (B) in mm</strong></td>
            <td class="xl70" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            <span style="margin: 0px; padding: 0px;">&nbsp;</span>(N) in mm</strong></td>
            <td class="xl70" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            (E) in mm</strong></td>

            <td class="xl70" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 59pt; text-align: center;" width="78"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            <span style="margin: 0px; padding: 0px;">&nbsp;</span>in mm</strong></td>
            <td class="xl71" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 68pt; text-align: center;" width="90"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            in mm</strong></td>
            <td class="xl71" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            ca. sec.</strong></td>

            <td class="xl70" style="margin: 0px; padding: 2px; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            kW</strong></td>
            <td class="xl70" style="margin: 0px; padding: 2px; border-left-style: none; width: 44pt;" width="59"><strong style="margin: 0px; padding: 0px;">123<br style="margin: 0px; padding: 0px;">
            ca. kg</strong></td>
        </tr>
        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>

            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">180</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">800</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">980</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1250 x 800</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1250 x 750</td>

            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">17</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">1,1</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">270</td>
        </tr>
        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>

            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">180</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">800</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">980</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">123</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">123</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">17</td>

            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">1,1</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">280</td>
        </tr>
        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">180</td>

            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">800</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">980</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">123</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">123</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">17</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">1,1</td>

            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">280</td>
        </tr>
        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">180</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">800</td>

            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">980</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1400 x 1000</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1250 x 750</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">17</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">1,1</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">290</td>

        </tr>
        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1200</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1500 x 800</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1500 x 750</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">14</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">320</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1200</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1500 x 1000</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1500 x 750</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">14</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">330</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1200</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1700 x 800</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1500 x 750</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">14</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">330</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1200</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1700 x 1000</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">1500 x 750</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">14</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">340</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1300</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1500</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2000 x 1000</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2000 x 900</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">18</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">460</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1300</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1500</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2000 x 1250</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2000 x 900</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">18</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">480</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1300</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1500</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2300 x 1000</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2000 x 900</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">18</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">480</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">200</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1300</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1500</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2300 x 1250</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2000 x 900</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">18</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="59">500</td>
        </tr>

        <tr style="margin: 0px; padding: 0px; height: 12.75pt;" height="17">
            <td class="xl68" style="margin: 0px; padding: 2px; height: 12.75pt; border-top-style: none;" height="17"><strong style="margin: 0px; padding: 0px;">123</strong></td>
            <td class="xl69" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 44pt; text-align: center;" width="58">1000</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 51pt; text-align: center;" width="68">220</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 54pt; text-align: center;" width="72">1600</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 50pt; text-align: center;" width="67">1820</td>

            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2500 x 1000</td>
            <td class="xl65" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; text-align: center;">2500 x 900</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 41pt; text-align: center;" width="55">30</td>
            <td class="xl67" style="margin: 0px; padding: 2px; border-top-width: medium; border-top-style: none; border-left-width: medium; border-left-style: none; width: 46pt; text-align: center;" width="61">2,3</td>
        </tr>
    </tbody>
</table>

Geändert von jannemann (30.08.2011 um 22:03 Uhr) Grund: Code
Mit Zitat antworten
  #8 (permalink)  
Alt 30.08.2011, 22:14
do{ atmen(); }while(!tot)
XHTMLforum-Mitglied
 
Registriert seit: 03.08.2011
Beiträge: 103
Sinokle befindet sich auf einem aufstrebenden Ast
Standard

Die Tabelle hat schon mal 18 Pixel Seitenpadding. Und die Breite steht nur auf 99%.
Mit Zitat antworten
  #9 (permalink)  
Alt 30.08.2011, 22:21
Erfahrener Benutzer
XHTMLforum-Mitglied
 
Registriert seit: 30.07.2003
Beiträge: 179
Karlo wird schon bald berühmt werden
Standard

Hi,

haste doch selber so vorgegeben mit deinen padding: 0px 18px;, da brauchst du dich auch nicht wundern wenn dann links/rechts der Abstand ist.

Padding geht von oben los, also padding: top, right, bottom, left. Wenn du das nicht möchtest mit dem Abstand, nimm das Padding raus.
__________________
Gruss Karlo
Mit Zitat antworten
Sponsored Links
  #10 (permalink)  
Alt 31.08.2011, 09:33
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 04.09.2009
Beiträge: 10
jannemann befindet sich auf einem aufstrebenden Ast
Standard

Guten Morgen,

ich muss meine Aussage noch mal korrigieren.
Wenn ich mit dem FCK-Editor eine Tabelle anlege, dann sieht der Quellcode im FCK-Editor so aus:

HTML-Code:
<table width="100%" border="1" cellpadding="1" cellspacing="1">
    <tbody>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </tbody>
</table>
Der Quellcode sieht so aus:

HTML-Code:
<table width="100%" border="1" cellpadding="1" cellspacing="1">

    <tbody>

        <tr>

            <td>&nbsp;</td>

            <td>&nbsp;</td>

        </tr>

        <tr>

            <td>&nbsp;</td>

            <td>&nbsp;</td>

        </tr>

        <tr>

            <td>&nbsp;</td>

            <td>&nbsp;</td>

        </tr>

    </tbody>

</table>
Jetzt verstehe ich nichts mehr. Wo kommt dieses padding her?
Mit Zitat antworten
Sponsored Links
Antwort

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Fragen zu CSS und Joomla DOKTOR CSS 2 23.05.2011 20:29
Brauche Hilfe: Schwarzes Nichts Zwox CSS 10 19.11.2010 17:53
Header entfernen tripple CSS 17 15.06.2010 16:41
Schriftfarbe in den Eintragungsfeldern von jforms Steveislucky CSS 2 16.03.2010 11:59
CSS Text nebeinander? carstiee09 CSS 13 13.11.2009 20:18


Alle Zeitangaben in WEZ +2. Es ist jetzt 20:05 Uhr.