#47420 [NEW]: PEAR chunked html theme and navigation table
| From: | pear at laurent-laville dot org | Date: | Tue, 17 Feb 2009 11:16:56 +0000 |
| Subject: | #47420 [NEW]: PEAR chunked html theme and navigation table | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-1887@lists.php.net to get a copy of this message | ||
From: pear at laurent-laville dot org
Operating system: Windows XP
PHP version: Irrelevant
PHP Bug Type: Doc Build problem
Bug description: PEAR chunked html theme and navigation table
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 bug report at http://bugs.php.net/?id=47420&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47420&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47420&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47420&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47420&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47420&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47420&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47420&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47420&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47420&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47420&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47420&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47420&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47420&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47420&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47420&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47420&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47420&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47420&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47420&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47420&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47420&r=mysqlcfg