ADMIN
schreibt um 11:11:04 am 26.11.2008 |
PM
| antworten
|
<Table> kann den Zusatz
- summary="Dieser Text wird vorgelesen" haben, um Blinden die Navigation zu erleichtern.
- width="" gibt die Länge in % oder px vor
- border="1" stellt die Rahmendicke ein
-
align = left|center|right
-
- frame = void|above|below|hsides|lhs|rhs|vsides|box|border This attribute specifies which sides of the frame surrounding a table will be visible
- void: No sides. This is the default value.
- above: The top side only.
- below: The bottom side only.
- hsides: The top and bottom sides only.
- vsides: The right and left sides only.
- lhs: The left-hand side only.
- rhs: The right-hand side only.
- box: All four sides.
- border: All four sides.
-
- rules = none|groups|rows|cols|all This attribute specifies which rules will appear between cells within a table.
- none: No rules. This is the default value.
- groups: Rules will appear between row groups.
- rows: Rules will appear between rows only.
- cols: Rules will appear between columns only.
- all: Rules will appear between all rows and columns.
- cellspacing
- cellpadding

(Bild m.f.G. von http://www.w3.org/TR/html401/struct/tables.html#adef-cellspacing)
<caption>Das ist eine Überschrift </caption> wird über die ganze Länge angezeigt.
Innerhalb der Zeilen <TR> können neben normalen Zellen <TD> auch Header <TH> stehen. Letztere werden hervorgehoben. Das Endetag ist bei allen optional!
Solle eine Zelle sich über mehrere Spalten erstrecken, muss dies mit colspan=xxx angegeben werden.
rowspan=xxx entsprechend, wenn eine Zelle sich über mehrere Zeilen erstreckt.
<colgroup align="center" span="2"> definiert für die kommenden 2 Spalten eine Zentrierung.
- align = left|center|right|justify|char
- valign = top|middle|bottom|baseline
Statt
<COLGROUP> <COL width="20"> <COL width="20"> ...insgesamt 5 COL Elemente... </COLGROUP>
können Sie schreiben
<COLGROUP width="20"> <COL span="4"> <COL id="css-format"> </COLGROUP>
|