That looks ok .. i guess you can do the above with less amount of code:
Code:
<table class="Container" cellpadding="0" cellspacing="0" {if $usertype eq "C"} width="{$width|default:"970px"}" align="center" {else} width="{$width|default:"100%"}" {/if} >
<tr>
<td class="Container">
Regards
Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4
Chamber Internet - Lancashire, United Kingdom
http://www.chamberelancs.co.uk