Opendial Posted November 17, 2014 Share Posted November 17, 2014 Hi, Currently i have some custum client fields in viewcart.tpl This is the code: {foreach key=num item=customfield from=$customfields} <tr><td class="fieldlabel">{$customfield.name} </td><td class="fieldarea" colspan="3">{$customfield.input} <br/> {$customfield.description}</td></tr> {/foreach} It looks like this: I would like to position the label text in the middle of the field (vertically), right now it's at the bottom. I did this: {foreach key=num item=customfield from=$customfields} <tr><td class="fieldlabel" <p <span style=vertical-align="middle">{$customfield.name}</span></p> </td><td class="fieldarea" colspan="3">{$customfield.input} <br/> {$customfield.description}</td></tr> {/foreach} But i see no change. What would be the proper formatting here? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.