[ZPT] Plone conference talk - ideas please!

Edward Muller edwardam at interlix.com
Thu Aug 28 16:12:15 EDT 2003


On Tue, 2003-08-26 at 12:01, Mitch Pirtle wrote:
> On Tue, 2003-08-26 at 11:35, Chris Withers wrote:
<snip>
> Another good example is looping and mixing the results with html tables:
> 
>   <td tal:content="bodypart/spleen">spleen</td>
> 
> What if I want that content to be bold?  I could spend(LOSE) quite a bit
> of time trying to figure out how to force <strong> within that <td>, and
> never get anywhere because that obviously doesn't work.  It was only due
> to experimentation that I decided upon:
> 
>   <td><strong><span tal:content="bodypart/spleen" /></strong></td>

or..

<td><strong tal:content="bodypart/spleen"/></td>

or...

<td class="a_css_class" tal:content="bodypart/spleen"/>

.a_css_class { font-weight: bold; }

The a_css class should be defined in a stylesheet. This way whenever you
need to modify the 'style' of the td (and others that share the same
class) you only need to edit the css.

<snip>
-- 
Edward Muller

Interlix (http://www.interlix.com)
Phone: 417-862-0573 - Cell: 417-844-2435 - Fax: 417-862-0572

Web Hosting - PC Service & Support - Custom Programming - Network Service & Support
Specializing in Open Source Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.zope.org/pipermail/zpt/attachments/20030828/e1e22bd3/attachment.bin


More information about the ZPT mailing list