From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: org-mode CSS property export bug Date: Thu, 22 Apr 2010 23:29:42 +0200 Message-ID: <87y6gf5g6x.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O53y5-0002dg-Fd for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 17:29:53 -0400 Received: from [140.186.70.92] (port=53040 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O53y4-0002cv-5d for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 17:29:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O53y2-0001iw-Qt for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 17:29:52 -0400 Received: from mail.gmx.net ([213.165.64.20]:38197) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O53y2-0001iq-AK for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 17:29:50 -0400 In-Reply-To: (Rick Moynihan's message of "Thu, 22 Apr 2010 18:38:06 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Moynihan Cc: emacs-orgmode@gnu.org Rick Moynihan 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