File: tables2.html

package info (click to toggle)
liblayout 0.2.10-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,332 kB
  • sloc: java: 51,125; xml: 138; makefile: 17
file content (54 lines) | stat: -rw-r--r-- 1,688 bytes parent folder | download | duplicates (5)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>asd</title>
  <style type="text/css">
  </style>
</head>

<body>

<table style="border-spacing: 10pt; width: 300pt">
  <tbody>
    <tr style="padding: 100pt">
      <td colspan="1" rowspan="2">A tale of a table</td>
      <td>Once there was a table</td>
      <td colspan="1" rowspan="2">with many spanned cells</td>
    </tr>
    <tr>
      <td colspan="2" rowspan="1">But that table was very depressed</td>
      <td>as it had no margins, paddings or borders to paint</td>
    </tr>
  </tbody>
  <!--<tfoot>-->
    <!--<tr>-->
      <!--<td>Footer</td>-->
      <!--<td>Footer</td>-->
    <!--</tr>-->
  <!--</tfoot>-->
  <!--<tbody>-->
    <!--<tr>-->
      <!--<td>Body</td>-->
      <!--<td>Body</td>-->
    <!--</tr>-->
  <!--</tbody>-->
</table>

<table style="border-spacing: 10pt; width: 300pt">
  <tbody>
    <tr>
      <td colspan="1" rowspan="2" style="border: 1px solid blue">A tale of a table II</td>
      <td style="border: 1px solid green">But one day, a mage came a long, and offered to help the little table.</td>
      <td colspan="1" rowspan="2"  style="border: 1px solid yellow">But as we know magicans, each gift has a price attached.</td>
    </tr>
    <tr>
      <td colspan="2" rowspan="2"  style="border: 1px solid red">The table did not listen to the warnings, all it wanted were some borders.</td>
      <td  style="border: 1px solid brown">and so it promised to do anything as long as it gets some fancy borders for its cells.</td>
    </tr>
  </tbody>
</table>

</body>
</html>