Make HTML export format compatible to Google Chrome. See https://www.heidisql.com/forum.php?t=9893

This commit is contained in:
Ansgar Becker
2023-03-29 21:38:24 +02:00
parent 82b1a0fe8f
commit a7d76c0916
2 changed files with 36 additions and 11 deletions

View File

@ -623,7 +623,6 @@ begin
' <meta name="GENERATOR" content="'+ APPNAME+' '+Mainform.AppVersion + '">' + CRLF +
' <meta http-equiv="Content-Type" content="text/html; charset='+GetHTMLCharsetByEncoding(Encoding)+'" />' + CRLF +
' <style type="text/css">' + CRLF +
' thead tr {background-color: ActiveCaption; color: CaptionText;}' + CRLF +
' th, td {vertical-align: top; font-family: "'+Grid.Font.Name+'", Arial, Helvetica, sans-serif; font-size: '+IntToStr(Grid.Font.Size)+'pt; padding: '+IntToStr(Grid.TextMargin-1)+'px; }' + CRLF +
' table, td {border: 1px solid silver;}' + CRLF +
' table {border-collapse: collapse;}' + CRLF;