From: SourceForge.net <no...@so...> - 2007-07-26 11:09:30
|
Bugs item #1760951, was opened at 2007-07-26 13:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=1760951&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Paul E.C. Melis (paulmelis) Assigned to: Nobody/Anonymous (nobody) Summary: No text flow around figure with html output Initial Comment: Using rst2html.py (Docutils 0.5 [snapshot 2007-06-07, r5227]) a figure element in the input rst file is translated to a <div> in the output html. This inhibites text from flowing around the figure by default (at least when viewer with firefox 2). This can be fixed in the stylesheet by adding e.g. ... div.figure { margin-left: 2em ; margin-right: 2em; float: right // <--- added } ... but the value for the float field obviously depends on the alignment of the figure (so a different CSS class would need to be added for each alignment) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=1760951&group_id=38414 |
From: Alan G I. <ai...@am...> - 2007-07-26 15:36:08
|
On Thu, 26 Jul 2007, Paul apparently wrote: > div.figure { > margin-left: 2em ; > margin-right: 2em; > float: right // <--- added > } I hope the current default will not change. A user can always change this in their own stylesheet. Cheers, Alan Isaac |