diff --git a/CHANGES b/CHANGES index 73d6964..f71fb54 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ + o the content of table generated by bibtex2html is now centered with CSS + instead of obsolete align and valign properties o default DOI prefix is now https://doi.org/, as recommended in the official crossref guidelines o option "--expand" also expands each abbreviation between keyword "and" in diff --git a/translate.ml b/translate.ml index 07bff00..a61d21c 100644 --- a/translate.ml +++ b/translate.ml @@ -391,8 +391,8 @@ let close_table ch = match !table with let open_row ch = match !table with | Table -> - Html.open_balise ch "tr valign=\"top\""; output_string ch "\n"; - Html.open_balise ch "td align=\"right\" class=\"bibtexnumber\""; + Html.open_balise ch "tr style=\"vertical-align:top\""; output_string ch "\n"; + Html.open_balise ch "td style=\"text-align:right\" class=\"bibtexnumber\""; output_string ch "\n" | DL -> Html.open_balise ch "dt"; output_string ch "\n"