On Mon, Nov 10, 2008 at 5:22 AM, Volker Haas <[EMAIL PROTECTED]> wrote: > > Hi Andrew, > I assume that the problem is that the "treecleaner" module removes > one-cell tables only keeping the content. This is done for a reason: > neither in latex (printed box) nor in reportlab (mwlib.rl / downloadable > pdf) is it possible for a single table cell to span multiple pages - the > pdf can not be generated in that case. --> The table that might have > been used solely to get a border around some text is removed and the > border is not drawn. I can try to add some heuristic to the code which > tries to guess if the single cell table fits on a single page. In that > case the table (and the border) would be preserved. I have added a > ticket for the above issue (http://code.pediapress.com/wiki/ticket/346) > > Do the templates you have in mind generate single-cell-tables? If that > is not the case, could you provide links to the templates or tell me by > which means you achieve the border in mediawiki markup (div with css > style maybe?)
It actually is. Here's an example of one of the templates I've been trying to use for this: http://en.wikibooks.org/wiki/Template:PrintTextBox The background color does appear on it correctly now, I haven't tried to use borders on it in a while. Would using a DIV tag instead of a table be better to preserve formatting, or are the two treated the same? --Andrew Whitworth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
