Solved

Green html tick in report page

Posted on 2010-08-26
13
643 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:MOSSPOINT
  • 6
  • 3
  • 2
  • +1
13 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33534285
green tick has to be an image, which you can insert conditionally using javascript.
0
 
LVL 29

Expert Comment

by:Badotz
ID: 33534358
>>green tick has to be an image

Or perhaps one of the Webdings chars? Or a Unicode char?
0
 
LVL 18

Expert Comment

by:Rajar Ahmed
ID: 33534407
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
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33534453
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
 

Author Comment

by:MOSSPOINT
ID: 33534742
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
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33534775
yes, this should do
"<font face=""ariel"" color=""green"">Test Pass  &radic;</font>
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 18

Expert Comment

by:Rajar Ahmed
ID: 33534796
this will display tick image . as i told der r many ways ...!

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

0
 
LVL 29

Expert Comment

by:Badotz
ID: 33534816
For a deep green chackmark, you can use:

<span id="span_check" style="color:$009900;">&#x2713;</span>
0
 
LVL 29

Accepted Solution

by:
Badotz earned 500 total points
ID: 33534827
I meant, of course:

<span id="span_check" style="color:#009900;">&#x2713;</span>
0
 
LVL 29

Expert Comment

by:Badotz
ID: 33534870
0
 
LVL 29

Expert Comment

by:Badotz
ID: 33535239
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
 

Author Closing Comment

by:MOSSPOINT
ID: 33540502
Works ok, thanks.
0
 
LVL 29

Expert Comment

by:Badotz
ID: 33543655
No worries, glad to help.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now