Dabei seit: 24.10.2007 Ort: - Alter: - Geschlecht: -
Verfasst Do 26.05.2011 17:11 Titel
Automatisches Table Layout:
Zitat:
In this algorithm (which generally requires no more than two passes), the table's width is given by the width of its columns (and intervening borders). This algorithm reflects the behavior of several popular HTML user agents at the writing of this specification. UAs are not required to implement this algorithm to determine the table layout in the case that 'table-layout' is 'auto'; they can use any other algorithm even if it results in different behavior.
Input to the automatic table layout must only include the width of the containing block and the content of, and any CSS properties set on, the table and any of its descendants.
Note. This may be defined in more detail in CSS3.
The remainder of this section is non-normative.
This algorithm may be inefficient since it requires the user agent to have access to all the content in the table before determining the final layout and may demand more than one pass.
Zuletzt bearbeitet von bacon am Do 26.05.2011 17:11, insgesamt 1-mal bearbeitet
Dabei seit: 07.08.2009 Ort: - Alter: - Geschlecht: -
Verfasst Do 26.05.2011 17:57 Titel
Der Vollständigkeit halber, falls es jemand interessieren sollte: Neben der oben geschilderten @media-Variante, hab ich noch eine zweite Lösung gefunden, indem man die th-Zellen mit box-sizing:border-box formatiert.
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst an Umfragen in diesem Forum nicht mitmachen.
Mediengestalter.info ist ein Projekt von Webformatik:: Forensoftware: phpBB