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

Subject: Re: [Boost-docs] [Quickbook] Different rendering in Chrome
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2011-06-07 20:42:32


On Tue, Jun 7, 2011 at 8:39 PM, Daniel James <dnljms_at_[hidden]> wrote:
> 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).
>

Thanks for the explanation which makes sense, will give it a try.

Sorry for such newbie question I am by no means a css guru.

> http://reference.sitepoint.com/css/font
> _______________________________________________
> Boost-docs mailing list
> Boost-docs_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-docs
>


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