Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

html_table header row

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
jblyberg
Smarty n00b


Joined: 28 May 2004
Posts: 1

PostPosted: Fri May 28, 2004 3:08 am    Post subject: html_table header row Reply with quote

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
View user's profile Send private message
sage
Smarty Rookie


Joined: 09 May 2004
Posts: 20
Location: London, UK

PostPosted: Sun May 30, 2004 10:19 am    Post subject: Reply with quote

Shocked
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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP