Mercurial > repos > snowblizz-super-API-ideas
diff api/Exporters/WarFoundryHtmlExporter.cs @ 389:121d9d1ba53c default-army-name
Re #314: Bugfix of HTML exporter that Frostlee found
author | snowblizz |
---|---|
date | Sun, 21 Nov 2010 21:53:16 +0000 |
parents | 900adf96a915 |
children |
line wrap: on
line diff
--- a/api/Exporters/WarFoundryHtmlExporter.cs Sun Nov 21 21:52:21 2010 +0000 +++ b/api/Exporters/WarFoundryHtmlExporter.cs Sun Nov 21 21:53:16 2010 +0000 @@ -57,7 +57,7 @@ metaCharset.SetAttribute("content", "text/html;charset=UTF-8"); head.AppendChild(metaCharset); XmlElement style = doc.CreateElement("style"); - style.InnerText = "able, th, td { border: 1px solid #000; border-spacing: 0; border-collapse: collapse; margin: 0 }\n" + style.InnerText = "table, th, td { border: 1px solid #000; border-spacing: 0; border-collapse: collapse; margin: 0 }\n" +"table table { width: 100%; border-width: 0; margin: -2px }\n" +"table table td { border-width:0 1px }"; head.AppendChild(style);