Bug 164454

Summary: docbook.css,v 1.20 causing FreeBSD Handbook Title to left-align rather than center-align
Product: Documentation Reporter: Jason Massey <Jason>
Component: Books & ArticlesAssignee: Warren Block <wblock>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason Massey 2012-01-24 19:40:08 UTC
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'.

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.
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.
Comment 1 Glen Barber freebsd_committer freebsd_triage 2012-01-24 20:00:12 UTC
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
Comment 2 Warren Block freebsd_committer freebsd_triage 2012-01-25 22:08:57 UTC
Responsible Changed
From-To: freebsd-www->wblock

Take.
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-01-25 22:16:53 UTC
wblock      2012-01-25 22:16:36 UTC

  FreeBSD doc repository

  Modified files:
    share/misc           docbook.css 
  Log:
  Be more specific about which table headers to force left-justified so
  header and footer elements aren't unjustifiably justified.
  
  Submitted by:   Jason Massey
  PR:             www/164454
  Reviewed by:    gjb (mentor)
  
  Revision  Changes    Path
  1.21      +1 -1      doc/share/misc/docbook.css
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Warren Block freebsd_committer freebsd_triage 2012-01-25 22:17:31 UTC
State Changed
From-To: open->closed

Fix committed.  Thanks!