|
List Info
Thread: table without border
|
|
| table without border |

|
2006-04-30 15:15:36 |
|
Is there anyone has better solutions?
---------- Forwarded message ---------- From: Andre Meyer <acm.org">meyer acm.org>
Date: Apr 30, 2006 11:04 PM Subject: Re: [Moin-user] table without border To: Rux Li <gmail.com">rux.li3 gmail.com>
You are right, it is ugly, but I have not found a better solution, either. Maybe someone else on the list has a clue? Is this a bug?
-- Dr. Andre P. Meyer
http://python.openspace.nl/meyer TNO Defence, Security and Safety
http://www.tno.nl/ Delft Cooperation on Intelligent Systems
http://www.decis.nl/
Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of. - Douglas Adams
|
| table without border |

|
2006-05-10 01:37:44 |
|
Dear all,
I managed to find a solution and I did. 
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||
That's it. FYI.
On 4/30/06, Rux Li <gmail.com">
rux.li3 gmail.com> wrote:Is there anyone has better solutions?
---------- Forwarded message ---------- From: Andre Meyer <acm.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
meyer acm.org>
Date: Apr 30, 2006 11:04 PM Subject: Re: [Moin-user] table without border To: Rux Li <gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rux.li3 gmail.com
>
You are right, it is ugly, but I have not found a better solution, either. Maybe someone else on the list has a clue? Is this a bug?
-- Dr. Andre P. Meyer
http://python.openspace.nl/meyer TNO Defence, Security and Safety
http://www.tno.nl/ Delft Cooperation on Intelligent Systems
http://www.decis.nl/
Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of. - Douglas Adams
|
| table without border |

|
2006-05-20 15:02:38 |
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||
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Moin-user mailing list
Moin-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
|
|
[1-3]
|
|