[TYPO3-project-formidable] How to use CSS in HTML templates ?
Izzie Greys
izzie.greys at gmail.com
Tue Jul 8 16:25:26 CEST 2008
Thank you so much Loredana :-) It works, it's perfect !
2008/7/4 Loredana ZECA <l.zeca at ameos.com>:
>
>
> Hello,
>
>
> You should write something like this:
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html>
> <head>
> <title>Template</title>
> </head>
> <body>
>
> <!-- ###LIST### begin-->
>
> <style type="text/css">
>
> /* TABLE LAYOUT */
> .lister-table { width: 100%;}
> .lister-table TD { padding: 2px; margin: 0px;}
>
> /* DATA ROWS */
> .data-row-1 { background-color: #faf0c6;}
>
> </style>
>
> <table class="lister-table">
> <tr>
> <th>{username.label}</th>
> </tr>
>
> <!-- ###ROWS### begin-->
> <!-- ###ROW### begin-->
> <tr class = "data-row-1">
> <td>{username.value}</td>
> </tr>
> <!-- ###ROW### end-->
> <!-- ###ROWS### end-->
> </table>
>
> <!-- ###LIST### end-->
> </body>
> </html>
>
>
> Regards,
> Loredana
>
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>
More information about the TYPO3-project-formidable
mailing list