I have created a views, adding an image field, hide it and thinking to show it via the "Global: Custom text" field to form my html like this:
<div class="my-banner" style="background-image:url([field_banner]);"> </div>
But I find this inline css style is striped by the Views and not showing. Is there a way to allow this inline css style to be used in Views ?
I think the same as Drupal because Views strips out that code when it sanitizes things. I think you may have to override the Views template as described here.