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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -