Re: Custom Style

On Thu, 13 Dec 2012 01:12:56 +0100, James Craig <jcraig@apple.com> wrote:

> 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.
>
yes, but this is exactly what I need to do, replace some of the things in  
the default template. Forgot to mention that.

Anyway adding a style block after the <body> did the trick


> <link href="./css/screen.css" rel="stylesheet" type="text/css">
>


-- 
Giuseppe Pascale
Product Manager TV & Connected Devices
Opera Software

Received on Thursday, 13 December 2012 07:59:24 UTC