Remove all inline styles from your content and add them to an external
If your content is this:
<p style="color: red; background: yellow">content</p>
remove the styling and add a class:
and in your css file:
Link to your CSS file in the head of your parent document using either a
link or style element. All styling that occurs on the page will come
form your CSS file.
Barry Owen wrote:
> I'm wondering if there is any way to suppress the loading of a style sheet
> by a nested page. By way of background, I have an application which can
> proxy internal pages into it, and display them essentially within a table on
> the page. The problems arise when the page being proxied loads a style
> sheet that defines some basic styles (p, h1, etc) that I have already
> defined on the enclosing or "parent" page. I know I could use something
> like an IFRAME to do this, but that defeats some of what I am trying to do.
> All I really want to do is block the style redefinitions so the proxied
> content looks like it fits on the page. Any Ideas?
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/