I have a simple page and a stylesheet. I am trying to setup my CSS to allow a different background based on the page. Why will this not work?
CSS from Stylesheet
#bg_subs {
{exp:channel:entries channel="pages" disable="categories|member_data|pagination" limit="1"}
background-image: url({site_url}{header_image});
{/exp:channel:entries}
}Page Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{exp:seo_lite use_last_segment="yes"}
<link rel="stylesheet" type="text/css" media="all" href="{path=site/stylesheet}" />
</head>
<body>