using css, is it possible to have search results display to have alternating bground colors. for example, search# 1. (gray), search# 2. (white), search# 3. (gray).
where do I input the css statement or is it possible. Do I place the css statement within the <A Name=result> </A> opening and closing tags or do I start my own tags, such as <A Name=CSS> </A>.
Thanks for your help!
I did look at some of your other messages, but they didn't answer all the questions I have.
I don't think style sheets can do anything like that. It would have to be done programatically. Use a variable for your table cell background color and change it with each row.
<if $bgcolor eq "gray">
<$bgcolor=white>
<else>
<$bgcolor=gray>
</if>
I tried the code you sent, but it's not working. I'm quite certain, it's probably at my end. please take a look at the code below and tell me what I'm missing.
Melvin
<!------------------------- Search Result Item ----------------------->
Don't make a function. You're not calling it anyhow.
Should be more like
<if $bgcolor eq "gray">
<$bgcolor=white>
<else>
<$bgcolor=gray>
</if>
<table ... bgcolor="$bgcolor">