[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] [bug #4548] centered text is broken in xhtml output
From: |
anonymous |
Subject: |
[emacs-wiki-discuss] [bug #4548] centered text is broken in xhtml output |
Date: |
Wed, 19 Oct 2005 06:20:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 |
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: address@hidden
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [emacs-wiki-discuss] [bug #4548] centered text is broken in xhtml output,
anonymous <=