Skip to content

Commit

Permalink
Fixed messed up table captions. (HDFGroup#4653)
Browse files Browse the repository at this point in the history
* Fixed messed up table captions. Browsers don't seem to respect relative values for width. Hardcoding 800px for now.
  • Loading branch information
gheber authored and lrknox committed Jul 19, 2024
1 parent 7cb0a41 commit 022f1f1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions doxygen/examples/FileFormat.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<style type="text/css">
TD CAPTION EM { color: red }
TD EM { color: blue }
TABLE CAPTION STRONG { font-size: larger }
TABLE CAPTION { width: 800px; }
TABLE CAPTION STRONG { font-size: larger; }
</style>
</head>
<body text="#000000" bgcolor="#FFFFFF">
Expand All @@ -34,7 +35,7 @@
</li><li><h3><u>Background Reading:</u></h3>

<dl>
<dt><a href="https://\DOXURL/_s_p_e_c.html">HDF5 File Format Specification</a>
<dt><a href="./_f_m_t3.html">HDF5 File Format Specification</a>
</dt><dd>This describes the current HDF5 file format.
</dd></dl>

Expand Down
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 022f1f1

Please sign in to comment.