css style sheet with asp code

W

weiwei

Hi
I am having trouble with css style sheet with asp code, everything was
working till I put extra of css code in there, and I got error message
state expected end statement, anyone has idea
thanks in advance
wei

below is my code

Response.Write "<a class="three" href=""job.asp?ID=" & rs("ID") & """
style="text-decoration: none">"
 
S

Steven Scaife

double up your quotes or use '

Response.Write "<a class='three' href='job.asp?ID=" & rs("ID") & "'
style='text-decoration: none'>"

that should work
 
N

na

Don't forget your round brackets. ;)

response.write("<a class='three' href='job.asp?ID=" & rs("ID") &
"'style='text-decoration: none'>Something to click</a>")

ya.. thats the ticket
 
E

Evertjan.

na wrote on 18 sep 2004 in
microsoft.public.inetserver.asp.general:
Don't forget your round brackets. ;)

response.write("<a class='three' href='job.asp?ID="
& rs("ID") &
"'style='text-decoration: none'>Something to click</a>")

No, at least with ASP-vbscript you do not need those brackets

response.write "Hi"

is good

response.write("Hi")

works, but adds some unnecesary processing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top