TABLE(TR(TD('text', _class='tdClass'), _class='trClass')))

_class being the CSS .class_selector in your style sheet

_id being the CSS #id_selector in yoru style sheet, ect....

_attribute will put in any normal html attribute.

On Thu, Apr 30, 2009 at 9:22 PM, weheh <[email protected]> wrote:
>
> While I'm at it, on p. 126 of MDP's doc at the top is a very sweet
> statement that I will repeat here:
> TABLE(*(TR(*rows) for rows in table). Now there are two modifications
> I would like to make to that statement, but don't know how to do it.
> One of them applies to the subject of this question, which is how to
> set formatting attributes on each component of the statement: TABLE
> and TR? The second part is how to work a cell-dependent format
> statement into the TR section so as to do a color-coded grid?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to