X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   how do i keep categories background image from repeating? (https://forum.x-cart.com/showthread.php?t=4825)

AKR 10-18-2003 02:04 PM

how do i keep categories background image from repeating?
 
can someone help me before i shoot myself? i've looked around at other sites and done searches on here and other places, and i've tried one thing, but i can't seem to keep my image from repeating. here is the code i have for the menu now:


<TABLE border=0 cellPadding=5 cellSpacing=0 width="100%">
<TR>
{if $link_href}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.png" height=26 valign=center width=80%><font class=VertMenuTitle>{$menu_title}</font></TD>
{else}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.png" height=26 valign=center width=80%><font class=VertMenuBoxNewsTitle>{$menu_title}</font></TD>
{/if}
</TR>
<TR>
<TD colspan="2" class=VertMenuBox>{$menu_content}
</TD></TR>
</TABLE>


any help would be appreciated. thanks, Reuben

Gibberish 10-21-2003 07:07 AM

Do you still need help on this? Noticed its been a few days.

AKR 10-21-2003 08:14 AM

yes, please. it's not doing it in explorer now, but it is in mozilla.

<TABLE border=1 cellPadding=5 cellSpacing=0 width="100%" style="border-collapse: collapse" bordercolor="#FFFFFF">
<TR>
{if $link_href}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.jpg" height=26 valign=center width=100% align="center"><font class=VertMenuTitle>
<font color="#000000"></font><font color="#000000">{$menu_title}</font></font></TD>
{else}
<TD class=VertMenuTitle background="{$ImagesDir}/titletest.jpg" height=26 width=100% align="center">
<font class=VertMenuBoxNewsTitle color="#000000"> {$menu_title}</font></TD>
{/if}
</TR>
<TR>
<TD colspan="2" class=VertMenuBox>{$menu_content}
</TD></TR>
</TABLE>

Gibberish 10-21-2003 08:19 AM

*EDIT

Opps sorry, wrong tag

where you get background image should be like this

background="{$ImagesDir}/titletest.jpg" style="background-repeat: no-repeat"

AKR 10-21-2003 10:16 AM

nice! thank you very much. i think my problem was i wasn't sure where to put that before. thanks, Reuben


All times are GMT -8. The time now is 04:36 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.