Skip to content

Commit 3580e60

Browse files
Merge pull request #2741 from w3c/FixedLayout-Table-Border-Centered-Heading
Added borders for each table
2 parents 6556f5d + 329350e commit 3580e60

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

wg-notes/fxl-a11y-tech/index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,14 @@
7474
/*prevent examples from horizontal scrolling*/
7575
pre {
7676
white-space: break-spaces !important;
77-
}</style>
77+
}
78+
table {
79+
border-collapse: collapse;
80+
}
81+
th, td {
82+
border: 1px solid black;
83+
}
84+
</style>
7885
</head>
7986
<body>
8087
<section id="abstract">
@@ -463,7 +470,7 @@ <h3>Tables</h3>
463470
<caption>Complex Data Table with Merged Cells</caption>
464471
<thead>
465472
<tr>
466-
<th id="main-header" colspan="3" scope="colgroup">Header 1</th>
473+
<th id="main-header" colspan="3" scope="colgroup" style="text-align: center;">Header 1</th>
467474
</tr>
468475
<tr>
469476
<th id="sub-header-2" scope="col">Header 2</th>

0 commit comments

Comments
 (0)