+ Antworten
Ergebnis 1 bis 6 von 6

Thema: Nach einfügen eien rTabbelle im Beitrageditor stürzt seite ab

  1. #1
    Neu an Board
    Registriert seit
    05.01.2010
    Beiträge
    11
    Bedankte sich
    1
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard Nach einfügen eien rTabbelle im Beitrageditor stürzt seite ab

    Hallo Habe eine tabelle mit grafischen Hintergrund erstellt. Bilder sidn am Server schon gespeichert. Nachdem ich den HTML Code mittels Editor in einem Beitrag einfüge und speichern möchter . Kommt ein ladebalken udn anch 10 min Fehle rmit de rinternetverbindung

    Der Code:



    Das ist ungefähr doppelt so lange wie hier reinkopiert aber immer gleich. Wo ist der Fehler. ??????

    <table id="Table_01" width="732" height="694" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="10" background="http://www.getamobile.at/images/tabelle/images/A1_01.png" width="731" height="12" alt=""></td>

    <td background="http://www.getamobile.at/images/tabelle/images/spacer.gif" width="1" height="12" alt=""></td>

    </tr>
    <tr>
    <td colspan="2" rowspan="3" background="http://www.getamobile.at/images/tabelle/images/A1_02.png" width="43" height="79" alt=""></td>


    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_03.png" width="76" height="55" alt=""></td>

    <td colspan="7" background="http://www.getamobile.at/images/tabelle/images/A1_04.png" width="612" height="34" alt=""></td>

    <td "images/spacer.gif" width="1" height="34" alt="">

    </tr>
    <tr>
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images//A1_05.png" width="35" height="45" alt=""></td>

    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_06.png" width="112" height="45" alt=""></td>

    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_07.png" width="106" height="45" alt=""></td>

    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_08.png" width="107" height="45" alt=""></td>

    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_09.png" width="109" height="45" alt=""></td>

    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_10.png" width="113" height="45" alt=""></td>

    <td rowspan="10" background="http://www.getamobile.at/images/tabelle/images/A1_11.png" width="30" height="647" alt=""></td>

    <td background="http://www.getamobile.at/images/tabelle/images/spacer.gif" width="1" height="21" alt=""></td>

    </tr>
    <tr>
    <td background="http://www.getamobile.at/images/tabelle/images/A1_12.png" width="76" height="24" alt=""></td>

    <td background="http://www.getamobile.at/images/tabelle/images/spacer.gif" width="1" height="24" alt=""></td>

    </tr>

    </table>

  2. #2
    Wohnt hier Avatar von chr-hl
    Registriert seit
    28.07.2009
    Ort
    Lübeck
    Beiträge
    3.042
    Bedankte sich
    56
    Erhielt 962 Danksagungen
    in 948 Beiträgen

    Standard

    Hallo,

    die Tabelle funktioniert an sich.
    Vielleicht sollte jedoch anstatt der absoluten Adresse (z.B. http://www.getamobile.at/images/tabe...ages/A1_12.png) ein relativer Pfad (../images/tabelle/images/A1_12.png) verwendet werden.

    Ich würde für die Hindergrundbilder im CSS Klassen definieren. Das würde die Tabelle auch übersichtlicher machen z..B.
    <td class="tab_a1_12" ...>
    und im CSS
    .tab_a1_12 {background-image: url(images/tabelle/images/A1_12.png) }

    Christian
    Konnte ich Dir helfen - dann freut ein Klick auf "Danke" bzw. "Thanks"

    Joomla - FAQs / Dein Joomla-Level / Problem gelöst? Bitte so markieren

  3. #3
    Kommt häufiger vorbei
    Registriert seit
    07.09.2009
    Beiträge
    466
    Bedankte sich
    4
    Erhielt 113 Danksagungen
    in 110 Beiträgen

    Standard

    ähm also ich bin mir zu 90% sicher, dass das html tag "td" kein background attribut hat, wenn du es inline lösen möchtest dann doch bitte:

    <td style="background-image: url(../images/..);">
    ..

    </td>
    Meine Antwort hat dir Stunden an Zeit gespart?
    Nimm dir die 2 Sekunden und drück auf den Dankebutton

  4. #4
    Wohnt hier Avatar von chr-hl
    Registriert seit
    28.07.2009
    Ort
    Lübeck
    Beiträge
    3.042
    Bedankte sich
    56
    Erhielt 962 Danksagungen
    in 948 Beiträgen

    Standard

    Zitat Zitat von Netpro Beitrag anzeigen
    ähm also ich bin mir zu 90% sicher, dass das html tag "td" kein background attribut hat,
    Hallo Netpro,

    es sind fir 10%:

    Auszug aus SELFHTML:
    Code:
    Das Gleiche ist mit dem Attribut background möglich, 
    um eine Hintergrundgrafik für die Tabelle oder einzelne Zellen einzubinden. 
    Dieses Attribut ist jedoch im Zusammenhang mit Tabellen nicht HTML-Standard-konform
    Christian
    Geändert von chr-hl (14.01.2010 um 12:58 Uhr)
    Konnte ich Dir helfen - dann freut ein Klick auf "Danke" bzw. "Thanks"

    Joomla - FAQs / Dein Joomla-Level / Problem gelöst? Bitte so markieren

  5. #5
    Kommt häufiger vorbei
    Registriert seit
    07.09.2009
    Beiträge
    466
    Bedankte sich
    4
    Erhielt 113 Danksagungen
    in 110 Beiträgen

    Standard

    Zitat Zitat von chr-hl Beitrag anzeigen
    Hallo Netpro,

    es sind fir 10%:

    Auszug aus SELFHTML:
    Code:
    Das Gleiche ist mit dem Attribut background möglich, um eine Hintergrundgrafik für die Tabelle oder einzelne Zellen einzubinden. Dieses Attribut ist jedoch im Zusammenhang mit Tabellen nicht HTML-Standard-konform
    Christian
    Klick

    gibt keins xd
    Meine Antwort hat dir Stunden an Zeit gespart?
    Nimm dir die 2 Sekunden und drück auf den Dankebutton

  6. #6
    Moderator Avatar von time4mambo
    Registriert seit
    11.12.2006
    Ort
    76646 Bruchsal
    Alter
    54
    Beiträge
    14.337
    Bedankte sich
    455
    Erhielt 2.970 Danksagungen
    in 2.789 Beiträgen

    Standard

    Die Tabelle funktioniert nicht - ist fehlerhaft:
    Code:
    <table id="Table_01" width="732" height="694" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="10" background="http://www.getamobile.at/images/tabelle/images/A1_01.png" width="731" height="12" alt=""></td>
    
    <td background="http://www.getamobile.at/images/tabelle/images/spacer.gif" width="1" height="12" alt=""></td>
    
    </tr>
    <tr>
    <td colspan="2" rowspan="3" background="http://www.getamobile.at/images/tabelle/images/A1_02.png" width="43" height="79" alt=""></td>
    
    
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_03.png" width="76" height="55" alt=""></td>
    
    <td colspan="7" background="http://www.getamobile.at/images/tabelle/images/A1_04.png" width="612" height="34" alt=""></td>
    
    <td "images/spacer.gif" width="1" height="34" alt="">
    </td>
    </tr>
    <tr>
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images//A1_05.png" width="35" height="45" alt=""></td>
    
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_06.png" width="112" height="45" alt=""></td>
    
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_07.png" width="106" height="45" alt=""></td>
    
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_08.png" width="107" height="45" alt=""></td>
    
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_09.png" width="109" height="45" alt=""></td>
    
    <td rowspan="2" background="http://www.getamobile.at/images/tabelle/images/A1_10.png" width="113" height="45" alt=""></td>
    
    <td rowspan="10" background="http://www.getamobile.at/images/tabelle/images/A1_11.png" width="30" height="647" alt=""></td>
    
    <td background="http://www.getamobile.at/images/tabelle/images/spacer.gif" width="1" height="21" alt=""></td>
    
    </tr>
    <tr>
    <td background="http://www.getamobile.at/images/tabelle/images/A1_12.png" width="76" height="24" alt=""></td>
    
    <td background="http://www.getamobile.at/images/tabelle/images/spacer.gif" width="1" height="24" alt=""></td>
    
    </tr>
    
    </table>
    Da fehlt als ersteinmal ein abschließendes td-Tag.
    Als Tipp: Setze Border auf 1 und schreibe in die einzelnen Zellen eine Zahl. Nummeriere es also durch. Das sieht dann recht merkwürig aus, was dabei raus kommt. Sieht nicht wirklich so aus, als wäre das gewollt. Kann aber natürlich dennoch sein.

    Mach das mal und überprüfe entsprechend die Tabelle.


    Axel
    Schulungen, Webentwicklung: time4mambo
    (Video-)Tutorials: time4joomla

+ Antworten

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein