ID:               28852
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to