You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dwi Ardi Irawan <dw...@nwa.iao.co.id> on 2006/05/17 06:18:27 UTC
Hos to custom CSS in Contrib:Table for just one row
.html
==================================
<table jwcid="mytable" class="distribusi"/> // css will make the
whole <td> tag have "center" align
<span
jwcid="bColumnValue@Block"> //
but, how to not implemented it in this <td> tag and
<img jwcid="@Image" image="ognl:assets.checkImage"/> //
change it align to "left" (only this <td> block statement) ?????
</span>
.page
===========================================
<component id="mytable" type="contrib:Table">
<binding name="columns" expression="'a:A Action:a
,b:B Action:b
,c:C Action:c'"/>
<binding name="source" expression="tableList"/>
</component>
.css
============================================
.distribution table {
text-decoration:none;
text-align: left;
}
.distribution th {
text-align: center;
background-color: #C0E3FA;
}
.distribusi td {
text-align: center;
}