#47420 [Opn->Csd]: PEAR chunked html theme and navigation table

From: Date: Tue, 17 Feb 2009 19:13:52 +0000
Subject: #47420 [Opn->Csd]: PEAR chunked html theme and navigation table
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1893@lists.php.net to get a copy of this message
ID: 47420 Updated by: cweiske@php.net Reported By: pear at laurent-laville dot org -Status: Open +Status: Closed Bug Type: Doc Build problem Operating System: Windows XP PHP Version: Irrelevant -Assigned To: +Assigned To: cweiske New Comment: This bug has been fixed in CVS. Since the websites are not directly updated from the CVS server, the fix might need some time to spread across the globe to all mirror sites, including PHP.net itself. Thank you for the report, and for helping us make PHP.net better. Will be in 0.4.5 Previous Comments: ------------------------------------------------------------------------ [2009-02-17 11:16:55] pear at laurent-laville dot org Description: ------------ On my first try to build my CHM theme for a partial render of PEAR Manual, I thought that there is an error in header navigation table. With current CHM theme, the title of page is not centered as expected but left aligned. This is why I thought there is a problem with prev link (but it's not). Error came from PEAR chunked html theme File: http://cvs.php.net/viewvc.cgi/phd/themes/pear/pearchunkedhtml.php?annotate=1.5.2.2.2.2 Line: 103 <tr><th colspan="3" align="center">{$title}</th></tr> The inline (expected behavior) is not provided by align="center" because the global style sheet "reset-fonts.css" is applied with selector caption th {text-align: left;} So to fix it I suggest to replace in pearchunkedhtml.php v 1.5.2.2.2 line 103 by this one <tr><th colspan="3" style="text-align: center">{$title}</th></tr> And XHTML will be followed Expected result: ---------------- Title Centered Actual result: -------------- Title is left aligned ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47420&edit=1

« previous php.doc.bugs (#1893) next »