PDA

View Full Version : Reference a css color in a template?


LunaTech
08-11-2005, 10:09 PM
Hello,

I asked this over at vB.com, but didn't get much of a response. Maybe some one here knows. I want to reference the tborder background color in one of my templates. What I'm effectively trying to get is:

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid #CC44BB">

I was told to try:

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid {$css[.tborder][background]}">

But the css variable outputs no code.

How can I reference the color? Thanks!