![]() |
Background Images Not Showing As Intended
Can someone tell me if there is a way to make a background image show as intended and not multiply.
For example, in the dialog.tpl, I changed the standard xcart dialog_bg.gif to my own image but if the image size is not right on it multiplies. See http://66.98.204.170/store/customer/pages.php?pageid=3 to see what I am talking about. This is a clients site I just started and this will never go over. X-Cart Version 3.5.2 Thanks! |
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> |
worked great! thanks leon.....
one note for anyone else reading this. I had to change the dialog.tpl to make 2 seperate tables for this to work Code:
<TABLE border=0 cellPadding=0 cellSpacing=0 {$extra}> |
8O It worked ? I was just guessing.... :lol: , no, just kiddin'
Your welcome. |
All times are GMT -8. The time now is 02:51 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.