Click to See Complete Forum and Search --> : ASP & Safari


wilkeyc
07-28-2005, 06:00 PM
Does anyone know anything about the Safari web browser. I've got a web app written in ASP and it's fully functional in IE but somethings don't work in Safari. For example, the following if statement:

<%
If FP_FieldVal(fp_rs,"completed")= "NO" Then
Response.Write "<a href=update.asp?referenceno=" & FP_FieldVal(fp_rs,"referenceno") & " </a><font face=""Verdana"" size=""1"" color=""#FF0000"">NO"
Else
Response.Write "<font face=""Verdana"" size=""1"" color=""#008000"">" & FP_FieldVal(fp_rs,"completed") & "</font>"
End If
%>

It displays the text correctly but doesn't display it as a link.

silverbullet24
07-28-2005, 06:10 PM
you open and close your <a> link tag before you actually put the word NO inside of it. that is, if thats the word you wanted to be the link. otherwise there needs to be something there that is the actual link

buntine
07-28-2005, 09:14 PM
The opening anchor tag is never closed at all.

ASP runs from the server; the user agent (browser in this case) cannot influence the way ASP executes. Safari is not the problem.

Regards.

wilkeyc
07-29-2005, 08:58 AM
Awesome. Thanks to the both of you. You were right....odd that it worked in IE though, isn't it?

buntine
07-29-2005, 09:44 AM
Nah, IE is very lenient. It will render almost anything. :p

Regards.