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

Create a strikethrough over text

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-10-2005, 06:54 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Create a strikethrough over text

I am trying to create a strikethrough my text; and i dont know how to make the line thick, a little wavy and give it a yellow color. Could someone help me out?

Here is what i would like to have my text look like with teh strikethrough:
http://www.michaelmoskva.com/errormessage/error_message.htm
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 11-10-2005, 07:06 AM
 
magnumkp magnumkp is offline
 

eXpert
  
Join Date: Apr 2003
Location: England
Posts: 304
 

Default

Code:
<FONT style="BACKGROUND-COLOR: yellow">My text here</font>

Try that, the only way you could make it wavy would be to have a background image.
__________________
Version 3.4.8
Reply With Quote
  #3  
Old 11-10-2005, 07:09 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Thats not a strikethough. That is text background color....


Code:
<font style="background-color: #FFFF00">Login information supplied is incorrect</font>
Reply With Quote
  #4  
Old 11-10-2005, 07:21 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

How do i make the yelloow backgound wavey
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #5  
Old 11-11-2005, 06:39 AM
 
magnumkp magnumkp is offline
 

eXpert
  
Join Date: Apr 2003
Location: England
Posts: 304
 

Default

Quote:
Originally Posted by TelaFirma
Thats not a strikethough. That is text background color....


Code:
<font style="background-color: #FFFF00">Login information supplied is incorrect</font>

I know but that's what showed in the picture.

To make the yellow background wavy you need to make a new style in the style sheet skin1.css:
Code:
.wavy { background-image: url(/skin1/images/wavy.gif); }

Then create an image called wavy.gif with your wavy line on it and upload it to the directory shown above.

Then on the text you want to have a wavy line put :

Code:
<span class="wavy">Look at this text. It is all wavy</span>
__________________
Version 3.4.8
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 10:17 PM.

   

 
X-Cart forums © 2001-2020