c# - How to put a strikethrough in a listview or repeater -
i don't know put in strikethrough in listview or repeater.. want have strikethrough in description only..
here asp code:
<div class="price" cssclass="sline"><%#renderprice2((decimal)eval("lb_sellingprice"))%></div> thanks!
in description add css class , give rule:
.yourcssclass {text-decoration: line-through;} <asp:label id="lb_titlelabel" runat="server" cssclass="center-head" text='<%# eval("lb_title") %>' /> <p><asp:label cssclass="yourcssclass" id="lb_descriptionlabel" runat="server" text='<%# eval("lb_description") %>' /></p>
Comments
Post a Comment