The client has requested that would like to be able to use a RTF to embed HTML into a page. The problem that I am encountering is that (due to the clients requirements), the HTML consists of several 'sections' with background images. They would like the options of being able to host images outside Tridion (no problems) and inside Tridion. If using inline CSS the background url is not resolved, understandably.
<div id="sectOne" style="background: url(tcm:44-12023);"></div>
The clients also suggested they would like to be able to embed an internal style sheet, which would solve my problem as we could declare the image paths inside the sheet which should be resolved. However, the RTF seems to be stripping out the style tags as I expect the tag is not recognized or because the sheet is not in the header (and is declaring it invalid).
<style>
#sectOne {background: url(tcm:44-12023);}
</style>
Just wondering if anyone has any suggestions on how to get the RTF validator to not strip out the internal style sheet? I need to find a solution that is compliant with Content Porter.I'd love to hear any suggestions or recommendations on how to fix the problem. Thanks guys.