[pmwiki-users] How can I avoid spaces in table cells?

Martin Spindler spindler at isg.cs.uni-magdeburg.de
Fri Nov 10 04:29:47 CST 2006


Hey JB,

this is exactly what I needed! :-)

Thanks a lot,
Martin.

JB wrote:

>I found that this does not work in MSIE, it leaves vertical space
>between rows.  I completely changed it to use css instead of
>HTML properties.  The table directive is simpler now:
>
>     (:table class="nospace":)
>
>Here is the CSS:
>/* ------------------------------------------------ */
>table.nospace        { border-collapse: collapse; }
>table.nospace td     { padding        : 0px     ; }
>table.nospace td img { display        : block   ; }
>/* ------------------------------------------------ */
>
>Here is the sample page:
>
>     http://gnuzoo.org/?n=Test2
>
>
>
>* JB wrote, On 11/9/2006 11:29 PM:
>  
>
>>I found I could eliminate whitespace around images in a table
>>by modifying the table directive.
>>
>>   (:table border="0" cellpadding="0" cellspacing="0":)
>>    
>>
>
>
>_______________________________________________
>pmwiki-users mailing list
>pmwiki-users at pmichaud.com
>http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>  
>





More information about the pmwiki-users mailing list