EDIT: revised answer after clarifying my misunderstanding of the question
(node), . CSS, / node.tpl.php, $node. , .
$body_classes page.tpl.php, zen_preprocess_page(), , ( ) / preprocess_page(), zen :
function yourModuleOrTheme_preprocess_page(&$vars) {
if ('node' == arg(0) && is_numeric(arg(1))) {
$node = node_load(arg(1));
$background_vid = yourFuntionToGetTheBackgroundVocabularyId();
$terms = $node['taxonomy'][$background_vid];
foreach ($terms as $tid => $term) {
$vars['body_classes'] .= ' ' . $term;
}
}
}
. .
( ), OPs, , :)
, :
, , , "" . , (, ) "background" ( " " ). ( , ), , . :
global $user;
$profile = profile_load_profile($user);
$background = $user->profile_background