See attached patch.

 * now contains formatting for "definition list" tags
 * correctly handles long definition terms
 * correctly wraps definition text

Changes will be seen in a page like:
  http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/formatchars.html

Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
diff --git a/docs/html/fpdoc.css b/docs/html/fpdoc.css
index d7ba7c9..2ca97d7 100644
--- a/docs/html/fpdoc.css
+++ b/docs/html/fpdoc.css
@@ -127,3 +127,26 @@ span.bartitle {
   font-style: italic;
   color: darkblue
 }
+/* definition list */
+dl {
+  border: 3px double #ccc;
+  padding: 0.5em;
+}
+
+/* definition list: text */
+dt {
+  float: left;
+  clear: left;
+  min-width: 100px;
+  text-align: right;
+  font-weight: bold;
+  color: green;
+}
+
+/* definition list: description or content */
+dd {
+  margin: 0 0 0 110px;
+  padding: 0 0 0.5em 0;
+}
+
+
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to