|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-05-31 20:31 UTC] phpnet535 at eddeye dot net
Description:
------------
The PHP.net online manual index page (/manual/en/) is very difficult to read. The sections are marked up as <dt>'s inside a definition list, with the numbering added explicitly. Not only is this the wrong markup for this type of data, but the Function Reference section is nearly impossible to scan because none of the section titles line up.
This page *should* be marked up as an ordered list, with the number types (arabic or roman) specified in css. I will *glady* fix this problem if somebody points me to the source files, which I could not locate in CVS.
Reproduce code:
---------------
<DL>
<DT>VI. <A HREF="funcref.php">Function Reference</A></DT>
<DD>
<DL>
<DT>I. <A HREF="ref.apache.php">Apache-specific Functions</A></DT>
<DT>II. <A HREF="ref.apd.php">Advanced PHP debugger</A></DT>
<DT>III. <A HREF="ref.array.php">Array Functions</A></DT>
<DT>IV. <A HREF="ref.aspell.php">Aspell functions [deprecated]</A></DT>
Expected result:
----------------
<ol>
<li><A HREF="funcref.php">Function Reference</A>
<ol style="list-style-type: upper-roman">
<li>I. <A HREF="ref.apache.php">Apache-specific Functions</A></li>
<li>II. <A HREF="ref.apd.php">Advanced PHP debugger</A></li>
<li>III. <A HREF="ref.array.php">Array Functions</A></li>
<li>IV. <A HREF="ref.aspell.php">Aspell functions [deprecated]</A></li>
</ol>
</li>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
Forgot to remove the explicit roman numerals from the expected result: <ol> <li><A HREF="funcref.php">Function Reference</A> <ol style="list-style-type: upper-roman"> <li><A HREF="ref.apache.php">Apache-specific Functions</A></li> <li><A HREF="ref.apd.php">Advanced PHP debugger</A></li> <li><A HREF="ref.array.php">Array Functions</A></li> <li><A HREF="ref.aspell.php">Aspell functions [deprecated]</A></li> </ol> </li>