[pmwiki-users] Table Border Problem

Patrick R. Michaud pmichaud at pobox.com
Wed Jun 22 07:28:27 CDT 2005


On Wed, Jun 22, 2005 at 10:27:43AM +0200, Winfried Mueller wrote:
> I have a problem with tables. In the skin-css File, I define borders for 
> table, td and th. Then, it has no affect, if i use
>     ||border=0
> I think, the best way is, to create a special borderless css-class and 
> then i use this:
>     ||class=noborder

Yes, this is the way to do it.

> Unfortunaly, the class is only set for tag table and not for the td/th 
> tags.
> 
> Is there a way to reach this? Or must i change the pmwiki php source code?

Use the following CSS selectors for the td/th tags:

    table.noborder td { ... }
    table.noborder th { ... }

These mean "<td>/<th> tags within a <table class='noborder'>".

Pm



More information about the pmwiki-users mailing list