Rick Moynihan <rick.moyni...@gmail.com> 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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to