summaryrefslogtreecommitdiff
path: root/old/test/tables/per1.html
blob: f1b390ba77cfe2f3607d11b39ce70114cd927e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><body>
  <h2>Absolute/Percentage tables</h2>
  <img src="rbowline.png" alt="img">
  <table width=500 border=1>
  <tr>
     <td><b>Width=500</b>
  </table>

  <table width=500 border=1>
  <tr>
     <td width="10%">10%
     <td width="15%">15%
     <td>some extra text
  </table>
  <table width=500 border=1>
  <tr>
     <td width="25%">25%
     <td>some extra text
  </table>
  <table width=500 border=4>
  <tr>
     <td width="25%">25%
     <td>border=4
  </table>

  <table width=500 cellspacing=10 border=1>
  <tr>
     <td width="25%">25%
     <td>1
     <td>22
     <td>333
     <td>4444
     <td>55555
  </table>
  <table width=500 cellpadding=10 border=1>
  <tr>
     <td width="25%">25%
     <td>1
     <td>22
     <td>333
     <td>4444
     <td>55555
  </table>
  <table width=500 cellspacing=10 cellpadding=10 border=1>
  <tr>
     <td width="25%">25%
     <td>1
     <td>22
     <td>333
     <td>4444
     <td>55555
  </table>

  <h2>Absolute/Auto tables</h2>
  <img src="rbowline.png" alt="img">
  <table width=500 border=1>
  <tr>
     <td>1
     <td>2 2 2 2
     <td>333
  </table>
  <table width=500 border=1>
  <tr>
     <td>111111111111111
     <td>2 2 2 2 2 2 2 2 2 2 2
     <td>333
  </table>
  <table width=500 border=1>
  <tr>
     <td>111111111111111
     <td>2 2 2 2 2 2 2 2 2 2 2
         2 2 2 2 2 2 2 2 2 2 2 2 2 
     <td>333
  </table>

  <h2>Absolute/Absolute tables</h2>
  <img src="rbowline.png" alt="img"><br>
  Fit columns:
  <table width=500 border=1>
    <td width='100' bgcolor=lightgreen> abs=100
    <td width='400' bgcolor=lightgreen> abs=400
  </table>
  Wider columns:
  <table width=500 border=1>
    <td width='100' bgcolor=lightgreen>100
    <td width='800' bgcolor=lightgreen>800
  </table>
  Narrow columns:
  <table width=500 border=1>
    <td width='100' bgcolor=lightgreen>100
    <td width='200' bgcolor=lightgreen>200
  </table>
  <table width=500 border=1>
    <td width='100' bgcolor=lightgreen>100_but-with-a-long-word
    <td width='400' bgcolor=lightgreen>400
  </table>
  <table width=500 border=1>
   <tr>
    <td width='100' bgcolor=lightgreen>100_but-with-a-long-word
    <td width='100' bgcolor=lightgreen>100_but-with-a-long-word
    <td width='100' bgcolor=lightgreen>100_but-with-a-long-word
    <td width='100'>100
  </table>

</body></html>