From: Allan A. <aan...@ar...> - 2005-08-22 06:11:41
|
David Goodger <goodger <at> python.org> writes: > > [Allan Anderson] > > Hi, I'm new to rST, and I'm using it to write up a test plan. I > > thought I'd do something simple, using long Definition Lists and > > grouping these tests under a **Bold** title > > If it's a title, use a title. Don't do **Title**, do: > > Title > ===== > > > and separating sections with .... (aka <hr> tags). > > This may be problematic; I can't tell without an example. > > > It looks great in original markup, but I'd like to provide it in > > HTML. The problem is that all the entries sort of run together, > > making it less readable. If was writing in HTML, I'd just add a few > > <br> tags between entries. As I see it, I have two options: > > > > 1) muck with the default.css file to add more padding. I know very > > little about CSS, so I'm not too confident about this. > > You don't need to know much. Just hack a copy of default.css. > Adding this should do the trick: > > dd { margin-bottom: 1em } > > > 2) stop using Definition Lists, and try something else. > > Again, I can't comment without an example. > > -- > David Goodger <http://python.net/~goodger> > So, here's my example. http://www.speakeasy.org/~rubel/outbox/example.txt I run this through rst2html.py, and I get this: http://www.speakeasy.org/~rubel/outbox/ex.html I don't like the way the definition lists crowd together. Make that a page full of tests, and you'll see what I mean. So, since I see that it's a table, I guess I'd change the table entry in the CSS file. Or else the td entry. Is that right? Any other suggestions of different rST markup that might look more like what I'm after? Thanks again. |