OT: a bit cheeky..
Unknown W. Brackets
Unknown_member at pathlink.com
Wed Jun 7 19:02:16 PDT 2006
Oh, sorry. I didn't realize you meant you were nesting them four levels, etc.
In that case, I might have to recommend IE7, if you can't move to divs. That
should definitely handle it, even if for the penalty (which will go away once
MSIE 7 is released.)
You could put classes on the tds themselves, which would fix this issue...
Sorry, there isn't a good solution to this problem for your usage after all,
that I know of. Forgive me for misunderstanding.
-[Unknown]
In article <optasqjczv23k2f5 at nrage.netwin.co.nz>, Regan Heath says...
>
>On Wed, 07 Jun 2006 07:25:54 -0700, Unknown W. Brackets
><unknown at simplemachines.org> wrote:
>> Anyway, let me know if it works out :).
>
>It doesn't work. The page in particular on which it's a problem goes:
>
><table class="invisible">
><tr>
> <th>..etc..</th>
></tr>
><tr>
> <td><table class="invisible">
> <tr>
> <td><table class="visible">
> <tr>
> <td><table class="invisible">
> <tr>
> <td>..A..</td>
> </tr>
> <tr>
> <td>..B..</td>
> </tr>
> </table></td>
> </tr>
> <tr>
> <td>..C..</td>
> </tr>
> </table></td>
> </tr>
> <tr>
> <td>..etc..</td>
> </tr>
> </table>
> </td>
></tr>
>
>The CSS is:
>
>table.invisible {
> background-color: none;
> border: none;
>}
>table.invisible td {
> background-color: none;
> border: none;
>}
>
>table.visible {
> background-color: silver;
> border: 2px outset silver;
> border-spacing: 1px;
>}
>table.visible td {
> border: 1px inset silver;
> padding: 2px;
>}
>
>I want borders around the table enclosing A and B and around C, but not
>around A and B individually.
>
>The above CSS puts borders around A and B individually, if I reverse the
>order, placing the ".visible" rules before the ".invisible" ones I get no
>borders at all.
>
>:(
>
>Regan.
More information about the Digitalmars-d-announce
mailing list