View Full Version : how do i style the quote box independantly?
Dr.Jeckyl
07-25-2005, 06:56 PM
i'm wanting to make the background color of the quote and code boxes the same color as the message box color and have a dashed line border. any tips on how i can go about this? i am a css/coding beginner so my knowledge of this is very limited.
Zachery
07-25-2005, 07:10 PM
i'm wanting to make the background color of the quote and code boxes the same color as the message box color and have a dashed line border. any tips on how i can go about this? i am a css/coding beginner so my knowledge of this is very limited.
Edit the bbcode_quote template :)
Dr.Jeckyl
07-25-2005, 07:24 PM
i've tried that but for some reason it doesn't work.
http://204.11.239.66/forum/showthread.php?p=94#post94
<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
<table width="100%" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" bgcolor="#E4E6DB">
<tr>
<td bordercolor="" bgcolor="#E4E6DB" class="alt2" style="border:dashed"> <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> snipped code to follow rules
ok some progress... the border is now dashed but in firefox it's the correct color, black but in ie it's white and the background color of the box field is still not correct.
fixed:
<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
<table width="100%" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" bgcolor="#E4E6DB">
<tr>
<td bordercolor="#000000" bgcolor="#E4E6DB" class="" style="border:double"> <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>
thanks for the help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.