URL:
  <http://gna.org/bugs/?func=detailitem&item_id=4548>

                 Summary: centered text is broken in xhtml output
                 Project: The Emacs Muse
            Submitted by: None
            Submitted on: Wed 10/19/2005 at 06:20
                Category: muse
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open

    _______________________________________________________

Details:

When centered text is published to xhtml, the output is as follows:

<p><span style="text-align: center;">
Foo
</span></p>

This doesn't work, because SPAN elements are set {display: inline} in the
default (X)HTML user-agent stylesheet, and inlined elements cannot be
centered, only block elements can. The easiest fix is for the inline style to
be applied to the P element and not to the superfluous SPAN. A better fix
would be to define something like P.centered in the default stylesheet
embedded in the document HEAD.

I'll try to work on a patch for this when I get the time.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
sboyette --AT-- gmail --DOT-- com   | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?func=detailitem&item_id=4548>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/



_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to