HeloHi
04-23-2005, 05:21 PM
I use alternating post colors, I know that using the main CSS for a certain template to change the alt2 color sets the quote box to that color. But on the even reply posts, if someone quotes, the color of the quote box is the same color as the post itself.
So what I am wondering is, how to make the quote box alternate color to the post it is in. If it is a quote in a post that is using alt1 color, I would like the quote box to use the alt2 color, and if it is a quote in a post using alt2 color, I would like the quote box to use the alt1 color.
Am I missing something simple here? Please help!
here is my bbcode_quote template:
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2" style="border:1px inset">
<if condition="$show['username']">
<div><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></div>
<div style="font-style:italic">$message</div>
<else />
$message
</if>
</td>
</tr>
</table>
</div>
I know it needs to be changed to reach the effect I desire, but I am a total n00b coder. Any suggestions?
So what I am wondering is, how to make the quote box alternate color to the post it is in. If it is a quote in a post that is using alt1 color, I would like the quote box to use the alt2 color, and if it is a quote in a post using alt2 color, I would like the quote box to use the alt1 color.
Am I missing something simple here? Please help!
here is my bbcode_quote template:
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2" style="border:1px inset">
<if condition="$show['username']">
<div><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></div>
<div style="font-style:italic">$message</div>
<else />
$message
</if>
</td>
</tr>
</table>
</div>
I know it needs to be changed to reach the effect I desire, but I am a total n00b coder. Any suggestions?