Your CSS selector is wrong. It should be
table.plain, table.plain td {
border: none;
}
not
.plain table { ... }
And you should really work on your "layout" guy. Tables for layout is
bad.
Bad.
Bad.
Stop it now.
David
On Sep 22, 8:10 am, Mike52 <[EMAIL PROTECTED]> wrote:
> Hi,
> for layout purposes, I need a table that will display without borders,
> or any other table attributes defined in the cakephp stylesheet.
> Before you object to using tables for layout purposes: the guy that
> makes the layouts does it this way. Getting him to use pure css is a
> fifferent discussion.
>
> So a regular table in a view, is displayed with borders.
>
> I tried adding this to the stylesheet:
> .plain table {
> border-top: none;
> border-left: none;
> border-bottom: none;
>
> }
>
> And then defining a table as:
> <table class="plain">
>
> But this has no effect whatsoever.
>
> The only way that I have gotten to work is this:
> <table style="border:none">
> <tr><td style="border:none">CELL_CONTENTS</td></tr>
> </table>
>
> Having to suppress the border for each TD tag is a pain.
>
> There must be an easier way. Suggestions anyone?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---