Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

From the below codes giving Output like

- Disaster Recovery

But I wish to remove that - ? Is it possible?
Thanks For The Ideas...

MyCodes
=======
XML
<td width="185" class="footer_text">-
<a href="#asd">Disaster Recovery </a></td>


Class :-
========
footer_text

CSS
.footer_text ,.footer_text :link,.footer_text :visited {
    font-family: Calibri,verdana;
    font-size: 10pt;
    color: #999999;
    text-decoration: none;
    text-align: left;
    list-style: none;
}
Posted
Updated 9-Oct-13 22:01pm
v2
Comments
Zafar Sultan 10-Oct-13 4:03am    
Your link does not contain '-' Do you want to remove it from code behind?

1 solution

try this css:

CSS
td.footer_text { color: Transparent; }
td.footer_text a { color: Black; }


The first list makes the foreground of the td invisible and then the second overrides that for any child td nodes and makes it black again.
 
Share this answer
 
Comments
Paramu1973 10-Oct-13 4:20am    
My clarification is my current output is -Disaster Recovery
But my required output might be Disaster Recovery......[How to remove that -]
Thanks
Stephen Hewison 10-Oct-13 4:24am    
You can't remove the output with CSS. You can use styling to hide the bit you don't want. I've just shown you how to do that.
Paramu1973 10-Oct-13 5:35am    
My expected rsult is here
<td width="185" class="footer_text">
Disaster Recovery </td>

At last I found (-) has entered in <td></td> block....
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900