View Single Post
  #2  
Old 01-27-2004, 02:00 AM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Divide your image in 3 pieces, the left blue part (leftblue.gif), the right blue part (rightblue.gif) and just a 1 pixel gray middle (dialog_bg_n.gif).

When the table starts, it starts with a line ( <tr> ), and inside that line it has cells ( <td> ), now if you see your dialog.tpl it only has one cell, so divide it into 3 cells like this:
Code:
<td>[img]{$ImagesDir}/leftblue.gif[/img]<td> <TD height=15 class=DialogTitle background="{$ImagesDir}/dialog_bg_n.gif" valign=bottom>{$title}</TD> <td>[img]{$ImagesDir}/rightblue.gif[/img]<td>
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote