Hi
One way would be to do a position override in which you have an if statement
if ($cck->getValue('some_field') == 'some-value') {
$someClass = 'green';
} else {
$someClass = 'blue';
}
And some divs...
<div class="$someClass">
<h2>$cck->getValue('art_title')</h2>
<p>$cck->renderField('some_rendered_field')</p>
<div>$cck->getHtml('some_fileds_html')</div>
</div>
Even if you are not going to display $cck->getValue('some_field'), make sure it is in your template's position somewhere ie mainbody or hidden etc
Bucklash