Web page background style through xpages

Calling all xpage/css gurus.

This should be simple but I am struggling. We have a system which allows staff to create webpages using the Notes Client. The staff can also specify their own background style/color on the document. In R6.5 it is easy to reflect that on the web via the HTMLHeader when the document is displayed in the browser. On converting to xpages we are struggling to achieve this effect.

How can you change the background color of webpage (xpage) to a user specified value held in a document in a database? This needs to override the application css.

Any help greatly appreciated.

Subject: solution

Of course it is absurdly simple. Looking too deep and getting too complicated!

Simply use the computed value option to lookup the style in the xpage “Styling - Style” field under properties.

Don’t know why I was complicating the issue. Doh!