Rendered HTML Changing Appearance of Website.

Jane's Avatar

Jane

08 Apr, 2014 09:05 PM

Hi All,
I am posting the Marked rendered HTML on my website. The problem is that the rendered HTML file is changing the original theme of my website. For example, my website is using Times New Roman, HTML rendered by Marked is using Arial. After I posted the HTML file to the website, the font of my whole page (instead of the specific pane that the HTML is posted) suddenly changes to Arial.

My best guess is that the CSS of HTML is "leaking" from this HTML page. I have tried to add

to rendered HTML and this doesn't solve the problem.

Can anyone help me?

Jane

  1. Support Staff 1 Posted by Brett on 08 Apr, 2014 10:07 PM

    Brett's Avatar

    You cannot contain CSS like that. If you're embedding in a web page, you
    need to export _without_ the styles and let your websites styling take
    over for the document.

  2. 2 Posted by Jane on 08 Apr, 2014 10:57 PM

    Jane's Avatar

    Hi Brett,
    How to export_without_the_style sheet? Do you mean Swiss in custom style sheet?
    Jane

  3. Support Staff 3 Posted by Brett on 08 Apr, 2014 11:20 PM

    Brett's Avatar

    When saving HTML, there's a checkbox at the bottom that asks if you want
    to "Include Preview Template in Output." Uncheck that when saving.

    -Brett

  4. 4 Posted by Jane on 09 Apr, 2014 09:02 PM

    Jane's Avatar

    thank you!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac