Subject: Re: [Boost-docs] [Quickbook] Different rendering in Chrome
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2011-06-07 11:40:44
> -----Original Message-----
> From: boost-docs-bounces_at_[hidden] [mailto:boost-docs-bounces_at_[hidden]] On Behalf Of
> Daniel James
> Sent: Tuesday, June 07, 2011 11:29 AM
> To: Discussion of Boost Documentation
> Subject: Re: [Boost-docs] [Quickbook] Different rendering in Chrome
>
> On 7 June 2011 07:33, Bo Jensen <jensen.bo_at_[hidden]> wrote:
> > The boost quickbook based documentation is rendered slightly different
> > in Chrome. The "Table Of Content" inserts extra line breaks, which
> > does not look good IMHO. For few items in TOC it's no problem, but I
> > have many and then the page becomes large and less clean.
>
> The real problem is that docbook uses definition lists for the table of contents, which is awful
markup (I
> guess it dates back to when css wasn't so common and well supported, so it's understandable). I'd
like to
> fix that, but I'm not sure if it's possible.
>
> But I think you can make the change you want by adding to the css:
>
> .toc dl dl { margin: 0; }
These extra lines have slightly bothered me too.
Adding .toc dl dl { margin: 0; } after
/* Code on toc */
.toc .computeroutput { font-size: 120% }
/* Try to avoid extra line break in TOC rendered by Chrom */
.toc dl dl { margin: 0; }
seems to do the trick.
Paul
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC