Solved

Green html tick in report page

Posted on 2010-08-26
13
644 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

930 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

10 Experts available now in Live!

Get 1:1 Help Now