Link to home
Start Free TrialLog in
Avatar of MOSSPOINT
MOSSPOINTFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Green html tick in report page

Hi,

I'm writing a web application in asp.net using visual basic and I'm creating my reports using an html page.

So when a test passes I want the value followed by a green tick symbol.

Can someone show me some html code tags that I can insert to get a green tick on the screen?

Thanks.
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

green tick has to be an image, which you can insert conditionally using javascript.
>>green tick has to be an image

Or perhaps one of the Webdings chars? Or a Unicode char?
there are many ways to do this .
Wat u ve to do is , u need to create image tag and assign the path  of tick image .



<form name="tes1" action="" method="post">
<input type="text" name="test" />
<input type="submit" value="test" name="sub"/>
</form>


<%
If Request.Form.count <> 0 then 

Response.Write("<img src=""images/tick.jpg""")
%>

<%  
end if
%>

Open in new window

tick.jpg
hmm...may be you are right

try using this special symbol
[ v ] square root [name: &radic;] [number: &#8730;]

and give font color as green

something like

<div style='color:green'>
   &radic;
</div>
Avatar of MOSSPOINT

ASKER

Is there a chr(??) I can use instead of an image? If so what's the exact html tags to do that and can someone give me a code example? e.g.

"<font face=""ariel"" color=""green"">Test Pass " & chr(??)</font>
yes, this should do
"<font face=""ariel"" color=""green"">Test Pass  &radic;</font>
this will display tick image . as i told der r many ways ...!

Response.Write("<img src=""images/tick.jpg""")

For a deep green chackmark, you can use:

<span id="span_check" style="color:$009900;">&#x2713;</span>
ASKER CERTIFIED SOLUTION
Avatar of Badotz
Badotz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks to

http://htmlpurifier.org/docs/enduser-utf8.html

for this CSS hack that makes IE behave:


<style type="text/css">
.Unicode {
	font-family: Code2000, "TITUS Cyberbit Basic", "Doulos SIL",
		"Chrysanthi Unicode", "Bitstream Cyberbit",
		"Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt,
		"Lucida Grande", "Arial Unicode MS", "Microsoft Sans Serif",
		"Lucida Sans Unicode";
	font-family /**/:inherit; /* resets fonts for everyone but IE6 */
}
</style>

Open in new window

Works ok, thanks.
No worries, glad to help.