diff options
Diffstat (limited to 'html/tables.html')
-rw-r--r-- | html/tables.html | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/html/tables.html b/html/tables.html new file mode 100644 index 0000000..f005ef7 --- /dev/null +++ b/html/tables.html @@ -0,0 +1,80 @@ +<html> +<head> + <style type="text/css"> + #table2 { + /*border: 1px solid red;*/ + /* + border-spacing: 10px; + */ + /*border-collapse: collapse;*/ + } + + #table2 tr { + border: 1px solid blue; + } + + #table2 td.t { + border: 1px inset green; + border-top-left-radius: 5px; + /*border-top-right-radius: 5px;*/ + /*border-bottom: hidden;*/ + } + +/* + #table2 td.m { + border: 1px solid green; + border-top: hidden; + border-bottom: hidden; + } +*/ + </style> + <style type="text/css"> + #table1 { + border: 1px solid red; + border-spacing: 10px; + } + + #table1 tr { + border: 1px solid blue; + } + + #table1 td { + border: 1px solid green; + border-radius: 5px; + } + </style> +</head> +<body> +<h4>Table 1</h4> +<table id=table2> + <tr> + <td class="t">1.1</td> + </tr> + <tr> + <td class="m">2.1</td> + </tr> + <tr> + <td class="b">3.1</td> + </tr> +</table> +<hr> +<table id=table1> + <tr> + <td>1.1</td> + <td>1.2</td> + <td>1.3</td> + </tr> + <tr> + <td>2.1</td> + <td>2.2</td> + <td>2.3</td> + </tr> + <tr> + <td>3.1</td> + <td>3.2</td> + <td>3.3</td> + </tr> +</table> +<hr> +</body> +</html> |