?
Solved

Green html tick in report page

Posted on 2010-08-26
13
Medium Priority
?
650 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

 
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
 
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 2000 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

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

771 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