ID:               34646
 User updated by:  Rick at Formex dot nl
 Reported By:      Rick at Formex dot nl
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

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>


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

[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

Reply via email to