DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   

strikethrough different color from text using css

By Ashok Nalam on 18 Feb 2013 | Category: CSS | Tagged: HTML 
  Discuss Add Comment   |  
Add rating Rate this resource   

In this tip, we will see how to set a different color for strike off other than text color.
<span style='color:blue;text-decoration:line-through'>
<span style='color:red'>black color text with blue color strike through</span>
</span>
output:
black color text with blue color strike through

  Discuss Add Comment    
Add rating Rate this resource   
About the Contributor
Member Since : 10 Dec 2012
Member Points (Level) : 8926  (Professional)
Location : INDIA
Home Page : http://dotnetmirror.com
About : I am admin of this site.
Rate this resource
 
Add your Comment
Name Email WebSite
Captcha Refresh


Comments (0)
No comments found, click here to add comment.