You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/11/13 13:39:50 UTC

DO NOT REPLY [Bug 24681] New: - xml2html adding too many margins

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24681>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24681

xml2html adding too many margins

           Summary: xml2html adding too many margins
           Product: Cocoon 2
           Version: 2.1.2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: jelle@ordina.nl


The stylesheet system/xml2html.xslt uses margins to indent sub-elements. 
Unfortunately it increases not only the left margin, but also the right margin, 
giving deeply nested elements too little space to show themselves.
proposal: 
Change the line 
  ".e  {border: 0px; padding: 0px; margin: 0px 2em 0px 2em; text-indent:-1em;}"
into:
  ".e  {border: 0px; padding: 0px; margin: 0px 0px 0px 2em; text-indent:-1em;}"

Greetings,

Jelle