|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jblyberg Smarty n00b
Joined: 28 May 2004 Posts: 1
|
Posted: Fri May 28, 2004 3:08 am Post subject: html_table header row |
|
|
Is it possible to format the first table row differently than the rest of the table to highlight column names? I could do it by looping my own array, but if there is an easier way, I'd like to know. _________________ John Blyberg
www.aadl.org |
|
Back to top |
|
sage Smarty Rookie
Joined: 09 May 2004 Posts: 20 Location: London, UK
|
Posted: Sun May 30, 2004 10:19 am Post subject: |
|
|
Header cells for tables should be specified with html, eg.
Code: |
<table>
<thead>
<tr>
<th>COL1</th>
<th>COL2</th>
</tr>
</thead>
<tbody>
......
|
You can then use css to style as you want. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|