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.
MOSSPOINTAsked:
Who is Participating?
 
BadotzConnect With a Mentor Commented:
I meant, of course:

<span id="span_check" style="color:#009900;">&#x2713;</span>
0
 
Gurvinder Pal SinghCommented:
green tick has to be an image, which you can insert conditionally using javascript.
0
 
BadotzCommented:
>>green tick has to be an image

Or perhaps one of the Webdings chars? Or a Unicode char?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Rajar AhmedConsultantCommented:
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
0
 
Gurvinder Pal SinghCommented:
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>
0
 
MOSSPOINTAuthor Commented:
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>
0
 
Gurvinder Pal SinghCommented:
yes, this should do
"<font face=""ariel"" color=""green"">Test Pass  &radic;</font>
0
 
Rajar AhmedConsultantCommented:
this will display tick image . as i told der r many ways ...!

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

0
 
BadotzCommented:
For a deep green chackmark, you can use:

<span id="span_check" style="color:$009900;">&#x2713;</span>
0
 
BadotzCommented:
0
 
BadotzCommented:
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

0
 
MOSSPOINTAuthor Commented:
Works ok, thanks.
0
 
BadotzCommented:
No worries, glad to help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.