Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

how do i keep categories background image from repeating?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-18-2003, 02:04 PM
 
AKR AKR is offline
 

eXpert
  
Join Date: Oct 2003
Location: the edge of insanity
Posts: 233
 

Default 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
Reply With Quote
  #2  
Old 10-21-2003, 07:07 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

Do you still need help on this? Noticed its been a few days.
Reply With Quote
  #3  
Old 10-21-2003, 08:14 AM
 
AKR AKR is offline
 

eXpert
  
Join Date: Oct 2003
Location: the edge of insanity
Posts: 233
 

Default

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>
Reply With Quote
  #4  
Old 10-21-2003, 08:19 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

*EDIT

Opps sorry, wrong tag

where you get background image should be like this

background="{$ImagesDir}/titletest.jpg" style="background-repeat: no-repeat"
Reply With Quote
  #5  
Old 10-21-2003, 10:16 AM
 
AKR AKR is offline
 

eXpert
  
Join Date: Oct 2003
Location: the edge of insanity
Posts: 233
 

Default

nice! thank you very much. i think my problem was i wasn't sure where to put that before. thanks, Reuben
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:12 PM.

   

 
X-Cart forums © 2001-2020