PDA

View Full Version : changing background color of quoted space


bongwater
01-09-2009, 08:08 AM
I would like to change the background color of the quoted space (the area inside the quotes in the following example):

https://vborg.vbsupport.ru/external/2009/01/59.png

I understand that it's a matter of editing the bbcode_quote template

What do I add/change to the template?

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div>
<pre class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px inset;
width: $stylevar[codeblockwidth];
height: {$blockheight}px;
text-align: left;
overflow: auto">$code</pre>
</div>

Dismounted
01-09-2009, 09:25 AM
That looks like the bbcode_code template, not bbcode_quote. :)

bongwater
01-09-2009, 10:08 AM
thanks for letting me know. I was looking at the wrong template LOL. I went to the right template and made the background color changes.

How do I change the quote border color? (same pic in the above example)

Dismounted
01-09-2009, 10:51 AM
Change the border property. :)

http://www.w3schools.com/css/css_border.asp