Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4613374
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:32:20+00:00 2026-05-22T01:32:20+00:00

My application lets users edit documents. The editor widget, unsurprisingly, represents user documents as

  • 0

My application lets users edit documents. The editor widget, unsurprisingly, represents user documents as HTML.

I need to redisplay the documents outside the editor, but inside my site’s layout. Documents need to appear in the exact same style they are presented in the editor, unaffected by my site’s stylesheet. I could use the editor in read only mode, with all its buttons hidden, but I still will have scrollbar and border style issues to resolve.

I have identified the CSS file that the editor uses. How can I effectively configure a div element (the one that will contain the document) to (1) disregard all current styling, and (2) load a css file to apply to its content?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:32:21+00:00Added an answer on May 22, 2026 at 1:32 am

    You have two options:

    1.) Reset all styles on the div containing your document, and make sure your document’s styles are prioritized over the reset. This could get messy.

    2.) Use an iframe and load the document and styles inside the iframe.

    <iframe src=".../documents/myDocument.html"></iframe>
    

    Where “myDocument.html” is an html document containing the document and styles (treat the document html page as any other html page, and make sure it has proper head and body tags, etc.

    Other options:

    1.) Open the document html page inside another window.

    <a href=".../document/myDocument.html" target="_blank" >Open Document</a>
    

    2.) Render the document as a pdf, and load it into the page using a pdf viewer. (you would want to keep a backup of the original document, as the conversion back would be terrible, I presume).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application lets users download their data as CSV files. These are supposed to
I have an Air application that lets users import jpg, png and swf files
I have a freelance web application that lets users register for events. In my
I want to have functionality on my application that lets a user check off
I have an Application (an appointment manager) which lets the user create usercontrols in
When creating a web application, and lets say you have a User object denoting
Basically, once a user leaves a webpage in my application, I need to call
I have an iPhone application, which lets the user add and and modify Assignments.
We have an embedded linux product with an application which lets the user change
[edit] We're collecting credit application data from users on a web form. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.