Forums

ASP

This topic is locked

Field or Text Conditional Formatting

Posted 20 Apr 2008 05:54:37
1
has voted
20 Apr 2008 05:54:37 Carlos Rey posted:
Hi All!

I am very, very new to the ASP/VbScript/Dreamweaver......ect. I haven't made any web desing in over 10 years.

I am creating a tracking database, and I am using Dreamweaver to create the front end. I need to be able to highligh those entries that are late. Either the text or the field would work.

Anyone know, or at least point me in the direction of getting this done???

Thanks!

Replies

Replied 20 Apr 2008 23:19:29
20 Apr 2008 23:19:29 Alan C replied:
if you are using css then you could have a highlight class and use it to format the entries, you might have to make it a span - depending on just how you are outputting the data - sorry I don't know asp to code it
Replied 21 Apr 2008 03:13:40
21 Apr 2008 03:13:40 Javier Castro replied:
this may work:

<% if your_recordset = Now() Then%>
<p style="color:Red">
late entry </p>
<%else%>
<p>normal entry<% end if %></p>

does it make any sense???

Javier
"I'm a slow learner and I forget fast" grandpa
DW | FW | ASP | HTML | CSS

Reply to this topic