P°φruΦka pro snadnou tvorbu html dokument∙.
P°φkaz:
TD
Popis:
TD definuje bu≥ku v tabulce TABLE. V ka₧dΘm °ßdku je implicitn∞ stejn² poΦet bu≥∞k, kdy₧ je pot°eba aby byla bu≥ka p°es vφce °ßdk∙ nebo sloupc∙, pou₧φvß se parametr ROWSPAN nebo CELSPAN.
ZaΦßtek:
<TD [ALIGN="left/center/right"] [VALIGN="top/middle/bottom"] [WIDTH="celΘ kladnΘ Φφslo"] [HEIGHT="celΘ kladnΘ Φφslo"] [COLSPAN="celΘ kladnΘ Φφslo"] [ROWSPAN="celΘ kladnΘ Φφslo"] [BGCOLOR="#RRGGBB"]>
Konec:
</TD> (nepovinn²)
Parametry:
Parametr |
V²znam |
ALIGN="left/center/right"
VALIGN="top/middle/bottom"
WIDTH="celΘ kladnΘ Φφslo"
HEIGHT="celΘ kladnΘ Φφslo"
COLSPAN="celΘ kladnΘ Φφslo"
ROWSPAN="celΘ kladnΘ Φφslo"
BGCOLOR="#RRGGBB"
|
Zarovnßnφ textu v bu≥ce vlevo/na st°ed/vpravo
Zarovnßnφ textu v bu≥ce nahoru/na st°ed/dol∙
èφ°ka bu≥ky v pixelech
V²Üka bu≥ky v pixelech
Spojφ s aktußlnφ bu≥kou x bun∞k vlevo
Spojφ s aktualnφ bu≥kou y bu≥∞k dol∙
Barva pozadφ hexadecimßln∞ (RR=Φerv., GG=zel., BB=modrß)
|
P°φklad:
Zm∞na barev:
<TABLE BORDER=1>
<TR>
<TD BGCOLOR="#F0F0F0">1.1</TD>
<TD BGCOLOR="#FF0000">1.2</TD>
</TR>
<TR>
<TD BGCOLOR="#00FF00">2.1</TD>
<TD BGCOLOR="#0000FF">2.2</TD>
</TR>
</TABLE>
Spojovßnφ bun∞k:
<TABLE BORDER=1>
<TR>
<TD COLSPAN=2>1.1-2</TD>
<TD>1.3</TD>
</TR>
<TR>
<TD>2.1</TD>
<TD COLSPAN=2 ROWSPAN=2>2-3.2-3</TD>
</TR>
<TR>
<TD>3.1</TD>
</TR>
<TR>
<TD>4.1</TD>
<TD>4.2</TD>
<TD>4.3</TD>
</TR>
</TABLE>
Zm∞na zarovnßvßnφ:
<TABLE BORDER=1>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" WIDTH=50 HEIGHT=50>1.1</TD>
<TD VALIGN="BOTTOM" ALIGN="CENTER" WIDTH=50 HEIGHT=50>1.2</TD>
<TD VALIGN="BOTTOM" ALIGN="LEFT" WIDTH=50 HEIGHT=50>1.3</TD>
</TR>
<TR>
<TD VALIGN="MIDDLE" ALIGN="RIGHT" WIDTH=50 HEIGHT=50>2.1</TD>
<TD VALIGN="MIDDLE" ALIGN="CENTER" WIDTH=50 HEIGHT=50>2.2</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT" WIDTH=50 HEIGHT=50>2.3</TD>
</TR>
<TR>
<TD VALIGN="TOP" ALIGN="RIGHT" WIDTH=50 HEIGHT=50>3.1</TD>
<TD VALIGN="TOP" ALIGN="CENTER" WIDTH=50 HEIGHT=50>3.2</TD>
<TD VALIGN="TOP" ALIGN="LEFT" WIDTH=50 HEIGHT=50>3.3</TD>
</TR>
</TABLE>
|
Zm∞na barev:
Spojovßnφ bun∞k:
1.1-2 |
1.3 |
2.1 |
2-3.2-3 |
3.1 |
4.1 |
4.2 |
4.3 |
Zm∞na zarovnßvßnφ:
1.1 |
1.2 |
1.3 |
2.1 |
2.2 |
2.3 |
3.1 |
3.2 |
3.3 |
|
Verze:
-//W3C//DTD HTML 3.2 Final//EN
Tento html dokument nesmφ b²t komerΦn∞ Üφ°en bez souhlasu autora!
Copyright ©1998 Advanced Computer Integrations Autor: Jan Klepal
|