Currently, I am working within the Liferay portal using the Google Charts framework. For those unfamiliar with Liferay, it essentially consists of standard JSP's but incorporates its own built-in stylesheets.
I have encountered a situation where my custom CSS is being overridden by the Liferay framework in certain instances. Is there a way to avoid this? In particular, I am facing issues with the width of Divs that I set to 'auto', but at runtime, the div expands beyond the screen boundaries. While some of my styles work for certain Divs, others are being overwritten somehow.
If I were to use inline styling within the div like:
<div style="bla bla bla">
would this potentially prevent the overwrite, compared to if I referenced an external CSS file?
Thank you!