here i have added the class (crossline) to add a line-through on the words (video taping & campaign included) , but the line was unintentionally was added to the word (not included) how can i remove it from the word (not included) ?
You could add the
crossline class to the
span and have the
span surround the words you want to cross, leaving the “not included” alone.
<div> <ul class="nav_plan"> <li>Gear provided</li> <li>Free meals</li> <li><span class="crossline">Video taping</span>not included</li> <li><span class="crossline">Campaign included</span>not included</li> </ul> </div>
CSS can remain the same.