From: Sebastian Rose <sebastian_rose@gmx.de>
To: Rick Moynihan <rick.moynihan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode CSS property export bug
Date: Thu, 22 Apr 2010 23:29:42 +0200 [thread overview]
Message-ID: <87y6gf5g6x.fsf@gmx.de> (raw)
In-Reply-To: <s2xe85471e31004221038s339c99eek583b1cfb8db5a935@mail.gmail.com> (Rick Moynihan's message of "Thu, 22 Apr 2010 18:38:06 +0100")
Rick Moynihan <rick.moynihan@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
next prev parent reply other threads:[~2010-04-22 21:29 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 17:38 org-mode CSS property export bug Rick Moynihan
2010-04-22 21:29 ` Sebastian Rose [this message]
2010-04-23 1:51 ` Rick Moynihan
2010-04-23 6:17 ` Sebastian Rose
2010-04-23 6:30 ` Carsten Dominik
2010-04-23 9:07 ` Sebastian Rose
2010-04-23 10:01 ` Rick Moynihan
2010-04-23 10:46 ` Sebastian Rose
2010-04-23 11:00 ` Rick Moynihan
2010-04-23 12:22 ` Rick Moynihan
2010-04-23 15:24 ` Carsten Dominik
2010-04-23 12:29 ` Richard Riley
2010-04-24 0:14 ` Carsten Dominik
2010-04-24 8:58 ` Sebastian Rose
2010-04-24 11:25 ` Sebastian Rose
2010-04-24 12:23 ` Carsten Dominik
2010-04-24 12:42 ` Sebastian Rose
2010-04-24 15:36 ` Carsten Dominik
2010-04-25 10:27 ` Sebastian Rose
2010-04-25 12:08 ` Carsten Dominik
2010-04-26 9:46 ` Rick Moynihan
2010-04-23 15:25 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y6gf5g6x.fsf@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@gnu.org \
--cc=rick.moynihan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).