Problem with css and tables

Tudor Girba girba at iam.unibe.ch
Fri Jul 17 08:31:37 MEST 2009


Hi,

I am not sure I understood the problem correctly. Do you want to do  
generate the output programatically or using the Pier syntax?

If it is the latter, then you can use |! to generate <th>

Cheers,
Doru


On 17 Jul 2009, at 07:15, Mariano Martinez Peck wrote:

> My real problem is that the html rendered doesn't render <thead>    
> and I need to apply diffent css to my table. I have a stylesheet  
> like this:
>
> #box-table-a {
>     font-family:"Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
>     font-size:12px;
>     width:480px;
>     text-align:left;
>     border-collapse:collapse;
>     margin:20px;
>     }
>
> #box-table-a th {
>     font-size:13px;
>     font-weight:normal;
>     background:#b9c9fe;
>     border-top:4px solid #aabcfe;
>     border-bottom:1px solid #fff;
>     color:#039;
>     padding:8px;
>     }
>
> #box-table-a td {
>     background:#e8edff;
>     border-bottom:1px solid #fff;
>     color:#669;
>     border-top:1px solid transparent;
>     padding:8px;
>     }
>
> #box-table-a tr:hover td {
>     background:#d0dafd;
>     color:#339;
>     }
>
>
>
> But as the html output is this:
>
>
> <table>
>     <tr>
>         <td>XXX</td>
>         <td>XXX</td>
>         </tr>
>     <tr>
>         <td>XXX</td>
>         <td>XXX</td>
>     </tr>
> </table>
>
> I don't know what to do :(
>
>
>
> best,
>
> Mariano
>
>
>
>
> On Fri, Jul 17, 2009 at 1:48 AM, Mariano Martinez Peck <marianopeck at gmail.com 
> > wrote:
>
>
> On Tue, Jul 14, 2009 at 1:02 PM, John McKeon <p3anoman at gmail.com>  
> wrote:
> Hi Mariano,
>
> On Tue, Jul 14, 2009 at 11:08 AM, Mariano Martinez Peck <marianopeck at gmail.com 
> > wrote:
>
>
> I tried to see in Pier code where the table of | is rendered, but I  
> didn't find it. I just saw PRTable but there is no renderContentOn:  
> or similar.
>
> Look at PRDocumentParser to do what you are suggesting.
>
> Sorry John but I didn't find it. I need to see the html rendered  
> when I create tables using |aaa|bbb| and change it from the original  
> one to the one I said in this mail. I am still newbie with Pier,  
> would you mind explaining me again ?
>
>
>
>
> Does someone know how can I do to obtain that output ?
>
> If your table does not reference any Pier structures you might want  
> to consider writing it as a straight Seaside component and "plugging  
> it into" the Pier page.
>
> Mmmm I don't know how to do this. But no, my table doesn't reference  
> any Pier structure. It a normal and simple html table.
>
>
> Thanks for the help!!!
>
> Mariano
>
>
>
>
> Thanks a lot in advance
>
> Mariano
>
>
>
>
>
> Thanks for the help!
>
> Mariano
>
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
>
> -- 
> http://jmck.seasidehosting.st
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
www.tudorgirba.com

"Presenting is storytelling."



More information about the smallwiki mailing list