W3C home > Mailing lists > Public > spec-prod@w3.org > October to December 2012

Re: Custom Style

From: James Craig <jcraig@apple.com>
Date: Wed, 12 Dec 2012 16:12:56 -0800
Cc: spec-prod@w3.org
Message-id: <5B155A7B-32E8-4FAF-B984-AC4CDB4F73EE@apple.com>
To: Giuseppe Pascale <giuseppep@opera.com>
On Dec 12, 2012, at 7:02 AM, Giuseppe Pascale <giuseppep@opera.com> wrote:

> What is the best way nowadays to define custom styles for ReSpec documents, now that extraCSS config parameter is deprecated?
> In particular, I'm working on a NON W3C document, and I want to tweak the "unofficial" stylesheet. Using <link> or <style> doesn't seem to work since the respec style takes precedence.

<link> works for me. You just have to make sure the cascade does not conflict, because the ReSpec CSS is appended after your linked CSS file.

<link href="./css/screen.css" rel="stylesheet" type="text/css">
Received on Thursday, 13 December 2012 00:13:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:20 UTC