You can use inline CSS to style parts of your static pages. There should be no problem with that.
To make X-Cart not strip <script> tags do the following
file: /classes/XLite/Module/CDev/SimpleCMS/View/Model/Page.php
Changed this piece of code
Code:
'body' => array(
self::SCHEMA_CLASS => 'XLite\View\FormField\Textarea\Advanced',
self::SCHEMA_LABEL => 'Content',
self::SCHEMA_REQUIRED => true,
\XLite\View\FormField\Textarea\Advanced::PARAM_STYLE => 'page-body-content',
),
as follows
Code:
'body' => array(
self::SCHEMA_CLASS => 'XLite\View\FormField\Textarea\Advanced',
self::SCHEMA_LABEL => 'Content',
self::SCHEMA_REQUIRED => true,
self::SCHEMA_TRUSTED => true,
\XLite\View\FormField\Textarea\Advanced::PARAM_STYLE => 'page-body-content',
),
Of course, this should be implemented as a module in order to make the change independent on upgrades.