#28852 [Opn]: Error in HTML code on php.net
| From: | mail at morkrid dot com | Date: | Sun, 20 Jun 2004 08:47:55 +0000 |
| Subject: | #28852 [Opn]: Error in HTML code on php.net | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61114@lists.php.net to get a copy of this message | ||
ID: 28852
User updated by: mail at morkrid dot com
Reported By: mail at morkrid dot com
Status: Open
-Bug Type: Documentation problem
+Bug Type: Output Control
Operating System: Windows XP
-PHP Version: Irrelevant
+PHP Version: 6
New Comment:
test url is
http://at.php.net/manual/en/language.basic-syntax.php
Previous Comments:
------------------------------------------------------------------------
[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