List Info

Thread: table without border




table without border
user name
2006-04-30 15:15:36
Is there anyone has better solutions?

---------- Forwarded message ----------
From: Andre Meyer <acm.org">meyeracm.org&gt;
Date: Apr 30, 2006 11:04 PM
Subject: Re: [Moin-user] table without border
To: Rux Li <gmail.com">rux.li3gmail.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?



On 4/30/06, Rux Li <gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rux.li3gmail.com> wrote:
Thanks! It works! But I have one more question:

I want to remove all borders of a multi-cell table, but <style="border-width: 0">; is effective on only one cell. I tried to use <tablestyle="border-width: 0">; and it does not work. It is ugly to add <style="border-width: 0">; for every cell :(



On 4/30/06, Andre Meyer <acm.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> meyeracm.org&gt; wrote:
Oh, that took me a while to figure out, too. Look at this:

||&lt;-4 tablestyle="width: 100%" style=&quot;text-align: center; vertical-align: middle; border-width: 0">; [ http://www.xyz.org/ http://www.xyz.org/xyz.gif] ||



On 4/30/06, Rux Li <gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> rux.li3gmail.com> wrote:
Hi! there,

Does anybody know how to make a table without border?
I have tried use <tableborder=";0">; but in vain.






--
Dr. Andre P. Meyer ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;    http://python.openspace.nl/meyer
TNO Defence, Security and Safety&nbsp; &nbsp; &nbsp; &nbsp;   ; http://www.tno.nl/
Delft Cooperation on Intelligent Systems&nbsp;  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
user name
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;
&nbsp; &nbsp; border-collapse: collapse;
  ;  border-style: hidden;
}

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

table.noborder td p {
 &nbsp;  margin: 0;
 &nbsp;  padding: 0;
}
---- END OF CUT ----

When you need a table without table border and cell border, just use <tableclass="noborder&quot;>. For example,

||<tableclass=&quot;noborder&quot;> item 1 || item 2 ||
|| item 3 || item 4||

That's it. FYI.


On 4/30/06, Rux Li <gmail.com"> rux.li3gmail.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)"> meyeracm.org&gt;
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.li3gmail.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?



On 4/30/06, Rux Li <gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rux.li3gmail.com> wrote:
Thanks! It works! But I have one more question:

I want to remove all borders of a multi-cell table, but <style="border-width: 0">; is effective on only one cell. I tried to use <tablestyle="border-width: 0">; and it does not work. It is ugly to add <style="border-width: 0">; for every cell :(



On 4/30/06, Andre Meyer <acm.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> meyeracm.org&gt; wrote:
Oh, that took me a while to figure out, too. Look at this:

||&lt;-4 tablestyle="width: 100%" style=&quot;text-align: center; vertical-align: middle; border-width: 0">; [ http://www.xyz.org/ http://www.xyz.org/xyz.gif] ||



On 4/30/06, Rux Li <gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> rux.li3gmail.com> wrote:
Hi! there,

Does anybody know how to make a table without border?
I have tried use <tableborder=";0">; but in vain.






--
Dr. Andre P. Meyer ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;    http://python.openspace.nl/meyer
TNO Defence, Security and Safety&nbsp; &nbsp; &nbsp; &nbsp;   ; http://www.tno.nl/
Delft Cooperation on Intelligent Systems&nbsp;  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
user name
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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )