Re: [Boost-docs] [Quickbook] Different rendering in Chrome

Subject: Re: [Boost-docs] [Quickbook] Different rendering in Chrome
From: Daniel James (dnljms_at_[hidden])
Date: 2011-06-07 20:39:30


On 7 June 2011 20:41, Bo Jensen <jensen.bo_at_[hidden]> wrote:
> One minor thing with opera is the heading sections, the headline is
> not bold but italic. It looks much better in firefox i.e with bold.

They're meant to be italic, here's the relevant css:

    h1 { font: 140% }
    h2 { font: bold 140% }
    h3 { font: bold 130% }
    h4 { font: bold 120% }
    h5 { font: italic 110% }
    h6 { font: italic 100% }

But that's invalid css because the properties don't include the font
family. According to the Sitepoint CSS reference, this means the
browser should ignore them, so I think firefox is right here. If
you're using your own css, deleting those rules should result in a
more consistent result (I haven't tried it yet).

http://reference.sitepoint.com/css/font


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC