WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

 
 
Themen-Optionen Ansicht
Alt 22.08.2002, 11:25   #6
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

Zitat:
Original geschrieben von Pavlovs_Dog
<thead>
Bin ein Table-Kopf
</thead>
....
....
<tfoot>
Bin ein Table-Fuss
</tfoot>

Nun solle man annehmen, daß der Eintrag Table-Foot am Ende einer Tabelle kommt.
Nun, beim Opera ist das auch so.
Beim Konqueror kommt gar nix und beim Mozilla kommt der Eintrag gleich neben dem Table-Header!
Beim Mozilla kommt der Footer auch am Ende der Tabelle, WENN Du Dich an die Spezifikation hältst, die da lautet:
Zitat:
Table rows may be grouped into a table head, table foot, and one or more table body sections, using the THEAD, TFOOT and TBODY elements, respectively. This division enables user agents to support scrolling of table bodies independently of the table head and foot. When long tables are printed, the table head and foot information may be repeated on each page that contains table data.
...
TFOOT must appear before TBODY within a TABLE definition so that user agents can render the foot before receiving all of the (potentially numerous) rows of data.
http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3

ad col und colgroup:
Hier dürfte der Mozilla generell Probleme haben, da mein Beispiel:
Code:
<style>
#rechts { background:white; text-align=right; }
#links { background:red; text-align=left; }
</style>

<table border="1" >
<COLGROUP width="*">
	<col id="rechts">
	<col id="links">
<thead style="background:green">
   <tr>
      <td>
          Tabellenkopf 1
      </td>
      <td>
          Tabellenkopf 2
      </td>
   </tr>
</thead>
<tfoot>
   <tr>
      <td>
          Tabellenfuss 1
      </td>
      <td>
          Tabellenfuss 2
      </td>
   </tr>
</tfoot>
<tbody>
   <tr>
      <td>
          Datenzelle 1
      </td>
      <td>
          Datenzelle 2
      </td>
    </tr>
   <tr>
      <td id="rechts">
          Datenzelle 1
      </td>
      <td>
          Datenzelle 2
      </td>
    </tr>
</tbody>
</table>
im IE (tschuldigung) ordentlich gerendert wird, der Mozilla aber alle style-Attribute ignoriert
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten
 


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

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.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 22:37 Uhr.


Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag