www/164454: docbook.css, v 1.20 causing FreeBSD Handbook Title to left-align rather than center-align

Glen Barber gjb at FreeBSD.org
Tue Jan 24 20:00:16 UTC 2012


On Tue, Jan 24, 2012 at 07:33:38PM +0000, Jason Massey wrote:
> >Description:
> While reading the FreeBSD Handbook I noticed that the book's title no longer displays centered (above the current chapter), but rather left-aligned. (Perhaps this is intentional.)
> 
> As I've written documentation for my company using the FreeBSD/SGML tool-chain, I visually compared that documentation and confirmed that the book's title is centered. My documentation is using `docbook.css,v 1.16'.
> >How-To-Repeat:
> Bring up a sample page:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-media.html
> 
> Notice that the book's title is left-aligned.
> >Fix:
> I `diff'-ed the v 1.20 docbook.css with the v1.16 docbook.css (which I am using for private reasons) and noticed:
> 
> 165a181,196
> > TH {
> >       padding-left: 02.em;
> >       text-align: left;
> > }
> >
> 
> 
> I believe the ``text-align: left;'' needs fixing.
> 

Hi,

This was discussed and reviewed on the docs@ list last month.  Please
see the following thread:

http://lists.freebsd.org/pipermail/freebsd-doc/2012-January/019332.html

Regards,

Glen



More information about the freebsd-www mailing list