For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2005 > #34646 [Opn->Bgs]: type comparison tables hard to read









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #34646 [Opn->Bgs]: type comparison tables hard to read
vrana@php.net

2005-09-27, 7:55 am

ID: 34646
Updated by: vrana@php.net
Reported By: Rick at Formex dot nl
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:

We don't use colors in PHP manual.


Previous Comments:
------------------------------------------------------------------------

[2005-09-26 17:27:10] Rick at Formex dot nl

I've just noticed that I've made a mistake in my last post, here's the
right version:
HTML:
<table border="1" class="CALSTABLE">
<thead>
<tr>
<th>==</th>
<th><tt class="constant"><b>TRUE</b></tt></th>
<th><tt class="constant"><b>FALSE</b></tt></th>
</tr>
</thead>
<tbody>
<tr>
<td><tt class="constant"><b>TRUE</b></tt></td>
<td class="true"><tt class="constant"><b>TRUE</b></tt></td>
<td class="false"><tt class="constant"><b>FALSE</b></tt></td>
</tr>
<tr>
<td><tt class="constant"><b>FALSE</b></tt></td>
<td class="false"><tt class="constant"><b>FALSE</b></tt></td>
<td class="true"><tt class="constant"><b>TRUE</b></tt></td>
</tr>
</tbody>
</table>

------------------------------------------------------------------------

[2005-09-26 17:21:47] Rick at Formex dot nl

Here is an example on how to solve this:
CSS:
..true{
background-color:#cfc;
}

..false{
background-color:#fcc;
}

HTML:
<table border="1" class="CALSTABLE">
<thead>
<tr>
<th>==</th>
<th><tt class="constant true"><b>TRUE</b></tt></th>
<th><tt class="constant false"><b>FALSE</b></tt></th>
</tr>
</thead>
<tbody>
<tr>
<td><tt class="constant true"><b>TRUE</b></tt></td>
<td><tt class="constant true"><b>TRUE</b></tt></td>
<td><tt class="constant false"><b>FALSE</b></tt></td>
</tr>
<tr>
<td><tt class="constant false"><b>FALSE</b></tt></td>
<td><tt class="constant false"><b>FALSE</b></tt></td>
<td><tt class="constant true"><b>TRUE</b></tt></td>
</tr>
</tbody>
</table>

------------------------------------------------------------------------

[2005-09-26 17:03:07] Rick at Formex dot nl

Description:
------------
The type comparison tables are a bit hard to read, a bit of color would
improve it a lot.



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=34646&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com