#28852 [Opn->Asn]: Error in HTML code on php.net
| From: | nlopess@php.net | Date: | Sun, 20 Jun 2004 08:54:28 +0000 |
| Subject: | #28852 [Opn->Asn]: Error in HTML code on php.net | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61115@lists.php.net to get a copy of this message | ||
ID: 28852
Updated by: nlopess@php.net
Reported By: mail at morkrid dot com
-Status: Open
+Status: Assigned
Bug Type: Output Control
Operating System: Windows XP
PHP Version: 6
-Assigned To:
+Assigned To: nlopess
New Comment:
This a mirror specific problem.
This mirror has already PHP 5 runninf and the code is PHP 4 only. I'll
change the code.
For now, you may use other mirror.
Previous Comments:
------------------------------------------------------------------------
[2004-06-20 10:47:54] mail at morkrid dot com
test url is
http://at.php.net/manual/en/language.basic-syntax.php
------------------------------------------------------------------------
[2004-06-20 10:44:20] mail at morkrid dot com
Description:
------------
in the php manual, the html seems to be incorrect, causing incorrect
colors to be rendered (almost unreadable at least on my laptop)
taken from the markup just beneath the next "Example 5-1. Ways of
escaping from HTML", thf following code appears:
<div class="phpcode"><code><span style="color: html">
this must surely be wrong. "color: html" makes no sense, and is
probably not even legal.
the style sheet indicates:
div.phpcode span.html {
color: black;
}
the correct html must surely be:
<div class="phpcode"><code><span class="html">
this also applies for the following styles:
div.phpcode span.html {
color: black;
}
div.phpcode span.comment {
color: #FF8000;
}
div.phpcode span.default {
color: #0000BB;
}
div.phpcode span.keyword {
color: #007700;
}
div.phpcode span.string {
color: #DD0000;
}
hope this can be fixed asap, as i am reading the manual to learn php,
and much of the text is now unreadable because colors and background
colors are almost identical.
note: in opera (which i use), incorrect colors are displayed. explorer
displays just black.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28852&edit=1