[Moin-user] table without border

Chris Lawley chris at art-en-soul.cix.co.uk
Sat May 20 08:04:04 EDT 2006


Ruz's solution doesn't work with Opera 8.54 (and probably earlier 
versions) but a very small tweak fixes it...

Opera needs to be have a unit for the border dimension (bug?)

so Ruz's 

 table.noborder td
 {
     padding: 0.25em 0.5em 0.25em 0.5em;
     border: 0;
 }

becomes

 table.noborder td
 {
     padding: 0.25em 0.5em 0.25em 0.5em;
     border: 0px;
 }

and all is well.


chris :-)


On 10 May 2006, Rux Li wrote:

> Please insert the following setting into htdocs/modern/css/common.css. I am not
> familiar with CSS, so I don't know if the order is important. But I inserted it
> just below the setting of table and it works.
> 
> ---- START TO CUT ----
> /* non-MoinMoin standard setting */
> 
> table.noborder
> {
>     margin: 0.5em 0 0 0.5em;
>     border-collapse: collapse;
>     border-style: hidden;
> }
> 
> table.noborder td
> {
>     padding: 0.25em 0.5em 0.25em 0.5em;
>     border: 0;
> }
> 
> table.noborder td p {
>     margin: 0;
>     padding: 0;
> }
> ---- END OF CUT ----
> 
> When you need a table without table border and cell border, just use
> <tableclass="noborder">. For example,
> 
> ||<tableclass="noborder"> item 1 || item 2 ||
> || item 3 || item 4||
> 





More information about the Moin-user mailing list