MOSSPOINT
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.
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.
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?
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 .
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
%>
tick.jpg
hmm...may be you are right
try using this special symbol
[ v ] square root [name: √] [number: √]
and give font color as green
something like
<div style='color:green'>
√
</div>
try using this special symbol
[ v ] square root [name: √] [number: √]
and give font color as green
something like
<div style='color:green'>
√
</div>
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>
"<font face=""ariel"" color=""green"">Test Pass " & chr(??)</font>
yes, this should do
"<font face=""ariel"" color=""green"">Test Pass √</font>
"<font face=""ariel"" color=""green"">Test Pass √</font>
this will display tick image . as i told der r many ways ...!
Response.Write("<img src=""images/tick.jpg""")
Response.Write("<img src=""images/tick.jpg""")
For a deep green chackmark, you can use:
<span id="span_check" style="color:$009900;">&#x 2713;</spa n>
<span id="span_check" style="color:$009900;">&#x
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I found the Unicode info at: http://www.fileformat.info/info/unicode/char/2713/index.htm
Thanks to
http://htmlpurifier.org/docs/enduser-utf8.html
for this CSS hack that makes IE behave:
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>
ASKER
Works ok, thanks.
No worries, glad to help.