jquery - CSS: Clear othe styles in Live Preview -


I have a div LivePreview that previews the text that is HTML Uses in the form. The problem is that, it gets all the other styles on the page, as it should be ...

Whether just livePlayview ( table , P , etc ...) or manually reset each live preview child?

The way to do this is done in the form of what you want to do. The way in which they appear to be inserted, that box is placed inside an iframe .

Any CSS within the iframe has been lost, which has been opened until the CSS file is explicitly attached to the inside of the 'iframe'. Then your code should be:

  & lt; Div class = "LivePreview" & gt; & Lt; Iframe & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; / * You will have any HTML and default CSS * / & lt; / Body & gt; & Lt; / Iframe & gt; & Lt; / Div & gt;    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -