Skip to content

Commit

Permalink
Fixed messed up table captions. Browsers don't seem to respect relati…
Browse files Browse the repository at this point in the history
…ve values for width. Hardcoding 800px for now.
  • Loading branch information
gheber committed Jul 16, 2024
1 parent e716059 commit 62b3ef9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions doxygen/examples/H5.format.1.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<title>
HDF5 File Format Specification
</title>
<style type="text/css">
table caption { font-weight:bold; font-size:larger; width: 800px; }
</style>
</head>
<body bgcolor="#FFFFFF">
<div class="full_width_table">
Expand Down
4 changes: 2 additions & 2 deletions doxygen/examples/H5.format.1.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
TABLE.format { border:solid; border-collapse:collapse; caption-side:top; text-align:center; width:80%;}
TABLE.format TH { border:ridge; padding:4px; width:25%;}
TABLE.format TD { border:ridge; padding:4px; }
TABLE.format CAPTION { font-weight:bold; font-size:larger;}
TABLE.format CAPTION { font-weight:bold; font-size:larger; width: 800px; }

TABLE.note {border:none; text-align:right; width:80%;}

TABLE.desc { border:solid; border-collapse:collapse; caption-side:top; text-align:left; width:80%;}
TABLE.desc TR { vertical-align:top;}
TABLE.desc TH { border-style:ridge; font-size:larger; padding:4px; text-decoration:underline;}
TABLE.desc TD { border-style:ridge; padding:4px; }
TABLE.desc CAPTION { font-weight:bold; font-size:larger;}
TABLE.desc CAPTION { font-weight:bold; font-size:larger; width: 800px; }

TABLE.list { border:none; }
TABLE.list TR { vertical-align:top;}
Expand Down
2 changes: 2 additions & 0 deletions doxygen/examples/H5.format.2.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
table.format caption {
font-weight: bold;
font-size: larger;
width: 800px;
}

table.note {
Expand Down Expand Up @@ -126,6 +127,7 @@
table.desc caption {
font-weight: bold;
font-size: larger;
width: 800px;
}

table.list {
Expand Down
2 changes: 2 additions & 0 deletions doxygen/examples/H5.format.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
}
table.format caption { font-weight:bold;
font-size:larger;
width: 800px;
}

table.note {border:none;
Expand All @@ -102,6 +103,7 @@
}
table.desc caption { font-weight:bold;
font-size:larger;
width: 800px;
}

table.list { border:none;
Expand Down

0 comments on commit 62b3ef9

Please sign in to comment.