views:

21

answers:

1

i have tool tip for an image in asn asp.net & c#.net and i want to set particular part of the tool tip text to be bold with different font color,

how can that be done?

A: 

Here is some nice css-only tooltip behaviour which you could use to customise your tooltips: http://meyerweb.com/eric/css/edge/popups/demo.html

Try including a <span>bold text here</span> within the tooltip span from this example and style it appropriately with css. Such as

div#links a span span {font-weight: bold;}

A simpler example here. In this example you would add the following style instead:

a.info span span {font-weight: bold;}
Daniel Dyson