emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-mode CSS property export bug


From: Sebastian Rose
Subject: Re: [Orgmode] org-mode CSS property export bug
Date: Thu, 22 Apr 2010 23:29:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Rick Moynihan <address@hidden> writes:
> Hi all,
>
> It seems that org-mode exports invalid CSS properties for id's.
>
> e.g. "sec-1.1" is an invalid CSS ID because it collides with the
> syntax for CSS classes, meaning that you can't style it.  I'd suggest
> replacing the dots with another char.


Hey Rick,


interesting observation! I found, the pages validate everywhere, and so
I started to search. It seems to be valid CSS 2 (I couldn't find a
evidence though).

Opera and firefox know how to handle that:


h3[id="sec-1.1"]
{
  background-color:yellow;
}


See: http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#strings



Best wishes


    Sebastian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]