HTML files not opened correctly

I wrote an HTML document with Text Edit but when I tried to open it with Safari it was not rendered into a web page (instead Safari just displayed the code).
When I imported HTML files that I'd created with NotePad on my Windows computer they opened fine as web pages in Safari, but when I tried to open them in Text Edit they were actually displayed as web pages instead of simply showing the code!

When I imported HTML files that I'd created with NotePad on my Windows computer they opened fine as web pages in Safari, but when I tried to open them in Text Edit they were actually displayed as web pages instead of simply showing the code!
In Text Edit-Preferences- Open & Save tab there is a check-box for 'Ignore rich text commands in HTML files'
If you un-check this box, html files will display as just-the-code in Text Edit

Similar Messages

  • KM, HTML file, Not rendering correctly

    Hi Everyone
    I have an html file that is stored in knowledge management.  The html file references few folders/images that are also stored in KM. When I create a KM Document iView, the HTML file shows; however, the various images/style sheet that is stored along with the html file KM do not appear.  Thus the html file is not rendering properly. 
    With this being said, I can create an URL iview and everything works as it should (the html file appears correctly with the necessary images).  The problem is that I am developing a solution for an external and internal facing portal, thus the URL iView option is not going to work for me.  I need to have a way for this KM html iView to display properly...perhaps with the KM Document iView template.
    Has anyone encountered an issue such as this and can offer assistance.  Again, the KM Document iView template will work, if the html file it is calling in KM can correctly reference other folders in KM that contain various images/style sheets that are a part of the html file.
    Any help is greatly appreciated.
    Best Regards,
    Scott

    Hi Scott.
    In order to solve your problem with relative links to image and css files inside KM I suggest two variants:
    1. Replace relative links as I mentioned in this message Re: JavaScript and CSS info in WPC.
    2.The second solution is:
    a. Create an blank html file inside KM folder where the base.html file is stored.
    b. Download the newly created file for local editing.
    c. Place an iframe that points to your base html file between <BODY></BODY> tags. Use a following code as an example:
    <iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="base.html"></iframe>
    d. Upload this file back to KM.
    e. Point your KM Document  iView to the created html file.
    Best regards,
    Aliaksandr Zhukau
    Edited by: Aliaksandr Zhukau on Dec 3, 2009 11:04 AM

  • Merged files not opening correctly from TOC

    Hi,
    We are having issues with one of our merged .chms. It is a
    small .chm with one topic and 8 merged TOCs. When this .chm file is
    compiled, the TOC works fine and all the TOC topics open and the
    topics display correctly in the right-hand frame.
    However, when we merge this .chm with our main help, we get
    the following error message when we click on a TOC entry:
    "The window name "Main" passed to HH_GET_WIN_TYPE has not
    been specified"
    We click OK to continue and the topic opens but in a new
    window as its own .chm, not in the right-hand frame like it should.
    And most of the time the new window does not have the correct
    title, it is picking up the title of TOC below or above it, or the
    one that was opened previously.
    Hope this is making sense, it is hard to explain without
    images...
    I have spent hours trying to figure this one out and was
    originally getting the same error in the stand alone .chm, but I
    think (fingers crossed) that I have fixed this. One of the merged
    TOC projects was corrupting everyhting else, but we have recreated
    that project from scratch, and now it all works fine.
    It is just when the .chm is merged with the main help.
    Is it because we have a merged TOC within a merged TOC?
    Thanks

    Hi Em0606,
    What version of RoboHelp are you using? There was a problem
    in RH X5.0.0 that was fixed by the X5.0.1 update. See the following
    link (scroll down to RoboHelp Office Updates):
    http://www.adobe.com/support/robohelp/downloads.html
    If that's got nothing to do with it, I shall bow out and let
    one of the experts offer a solution.
    Anne

  • Download File not opening correctly in Firefox... (Works fine in IE...)

    Running the following code snippet in Oracle 11.2, APEX 4.2.3, IE 10, Firefox 24:
    procedure download_to_user
    is   
    t_excel blob;
    t_filename varchar2(200);
      begin
      t_excel := finish;
      t_filename := 'test.xlsx';
       htp.flush;
       owa_util.mime_header( 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', false );
       htp.print( 'Content-Length: ' || dbms_lob.getlength( t_excel ) );
      htp.print( 'Content-disposition: attachment; filename=' || t_filename || ';' );
      htp.print( 'Content-Description: Generated by as_xslx' );
      owa_util.http_header_close;
      wpg_docload.download_file( t_excel );
      apex_debug_message.log_message( 'done' );
      end;
    Now the strange part.. It works fine in IE & Chrome when I have it called from a button click on a form, when I try it in Firefox, it returns a garbled file that Firefox thinks IT Should open...  I would think since all the issues we seem to have with IE that this would be the opposite..
    Thank you,
    Tony Miller
    LuvMuffin Software

    Hi TexasApexDeveloper,
    I don't have IE10 to test this with but I find it strange that you don't need to add   
    APEX_APPLICATION.stop_apex_engine;
    or
    APEX_APPLICATION.g_unrecoverable_error := TRUE;
    at the end of your code, to stop possible branches or further rendering.
    That's the only thing in your code that I can see that can indicate an error. Can you create an example on apex.oracle.com if that does not help?
    Regards,
    Joni

  • DMG files not opening correctly in 10.8.2

    I was downloading second life on my ir running 10.8.2, and after the dmg downloaded, and i clicked it, instead of the usual drag to app folder Finder window, I got a strange one with four folders in it and a shaded arrow, and nothing really to drag. Repeated this after reboots and two different dmg files (I have not tried anything other than second life. But read on.
    I found a thread here where someone had a similar problem with other downloads. in their case, the finder window opened briefly and then closed, i believe. anyway they finally created a new admin user and downloaded and installed using that and it worked.
    I tried that, and it also worked. Created new user, downloaded same files, clicked, and they came up with the usual drag to applications window.
    Somehow ML has gotten confused on my main account. Ideas for what to do to clean it up? or should I just wait for 10.8.whatever?
    Thanks!

    You might give this a try:
    Repair the Hard Drive and Permissions - Lion/Mountain Lion
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.

  • Help, files not opening correctly in Illustrator

    Hi there,
    I have a file that was originally created in CorelDrawX5 as both a dwg and pdf. I have opened both in Illustrator CS6 and they work fine.
    I then saved it as an eps and ai for my supplier to work from, they have Illustrator 10 so I made sure it was compatible to work with ver 10.  However when my supplier opens it all the letters and outlines are split up and spread out.
    Does anyone know what the issue could be?
    Thanks in advance.
    M

    Any ideas at all please?

  • Files not opening correctly

    When I try to open a 3rd or 4th file in Illustrator, all I get is a gray page. I get the rulers, but the artboard and document don't show. It appears to me that I am running out of memory, but why whouldn't virtual memory be kicking in? I have over 50GB of free hard drive space. I'm running a 13" MacBook Pro 2.4 GHz with 4 GB of built in memory. I can upgrade to 6 GB for $170, but wonder if the RAM is the problem. OS 10.6.8. Illustrator CS 5.1. I have it hooked to an Apple 30" cinema display, and run the computer in clamshell mode. Could I be running out of video memory? Any suggestion?

    50GB of free hard drive space isn't much at all. How big is the hard drive? You want to always leave at least 20% of the hard drive free. Once a hard drive starts filling up, really strange things start happening.
    My guess is its due to scratch space use, your hard drive is being filled and Illustrator can no longer function properly. It's got nothing to do with RAM since Illustrator is a 32bit application and only sees 3GB anyway.

  • Mail attachments in leopard do not open correctly

    I have noticed my mail attachments on my macbook do not open correctly. When I get attachments in mail on my IMac using, Tiger they appear directly under the e-mail. Even quicktime apps. On my macbook, which is using leopard, they usually are in the form of am attachment you must click on which in turn opens another window. Today I got a Merry Christmas wave sent to me. It works fine on my IMac. It is a mime file. On my macbook it doesn't do anything. It just says Merry Christmas. No wave, no turning into Santa, nothing! They are both there in the same spot, (no attachment to click on in the macbook) all my mail preferences are identical, but it doesn't work. Can anyone please tell me why? I am still new to a mac and frustrated. Thanks

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank and then power ON again in the normal way.] It is app and data safe!

  • File not formatted correctly error

    Dear All,
    when am trying to import a contract file as excel sheet, not CVs file, i get the error ( File not formatted correctly ). any advice?

    the issue with date formatting would be corrected in Excel. When an export file that includes dates is opened in Excel, they get reformatted by the Excel program. In my experience, I have had to reformat those cells in Excel to the YYYY-MM-DD format and save the Excel file before I could import again into CM. But, if you are just exporting and then importing without opening the file in Excel, then the dates are not the problem. What are you exporting from CM? Are you trying to import into a different project or database than you exported from?

  • Photoshop not opening correctly

    My photoshop CC 2014 does not open correctly. A window pops up and says "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." Please someone help me, Thank you.

    You must probably have to re-install your application.
    Next time you post, please at least mention your platform, Mac or Win.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, such as total installed RAM, scratch file HDs, video card specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    A screen shot could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • CS3 FW drop down menu files not eporting correctly

    Drop down menu files are not exporting correctly.
    Here's what happened:
    1. I did a file save as to the PNG file (from subban11.png to
    subban12.png)
    2. Made changes to the drop down menu
    3. Eported the file with the new name subban12
    The result:
    1. The html file was named correctly as subban12.html
    2. All the supporting .gif files still had the old file name
    (subban11... )
    3. A new subban12.css file appeared that had never appeared
    before when exporting
    4. A new mm_css_menu.js file also appeared
    Is there fix for this problem or has my .png file corrupted?
    I did export a different .png drop down menu file and
    everything worked properly.

    Renee@CoP wrote:
    > Hi Linda,
    >
    > Thanks for your reply. I'm pretty sure that I did not
    change the format to
    > CSS menus. I exported like I always do (control, shift,
    x) without changing
    > any of my settings. Could you let me how to export in
    CSS format, so that I
    > know what to avoid?
    >
    > Thx, Renee
    Hi Renee,
    I'm not presently working on a machine that has Fireworks CS3
    installed
    on it. From memory, choose File > HTML Setup. Under
    General, check Use
    CSS for Pop-up menus, and Write CSS to an External file.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • HTML files not playing from Dropbox

    I used to be able to upload all parts of the file (cptx, html, swf, js) to Dropbox and link to the HTML file and it would play in a new tab on IE.  Now anytime I link to the html file it opens a new tab but doesn't load/play. 
    The swf file plays but the htm file doesn't.  I'm using Captivate 5 (all updates done) and IE, Flash, Java are all up to date.
    My client used to just click the Dropbox link to play the htm file and now it doesn't work.  Even my old html files don't play or open.
    Any suggestions?

    That's what I thought too, but all files are there.  I used to have numerous files (6-8) in a dropbox folder with all parts: cptx, htm, swf, js and the html would play fine by just clicking on the link.  Once it started not working I made individual folders with each part of the file and included them into each seperate folder.  Still not loading/opening.  This is happening to everyone I send the link to.  I've tried opening it in different browsers too.
    Here is a link if anyone wants to see what happens:  https://www.dropbox.com/s/460vq2nqu4dbwf1/courseconnect_training_2013.htm
    Here is how I am including each part of the file in the actual folder:
    https://www.dropbox.com/sh/sdfjdeud8jro1v1/SdZMzJHXBo

  • Why is my .psd file not rendering correctly in ae

    Some layers of the .psd document are not rendered correctly. However they are imported.
    The strange thing is that when I first move from Photoshop to Illustrator, save it as an .ai file it is rendered properly (in Ae).
    I am kind of clueless as to what is causing this issue.
    Kind regards,
    Jelle

    Okay if more information is needed, i'll provide. However you may disregard my initial comment about illustrator. It flattens the photoshop layers so I do not have any flexibility in After Effects. In other words, my main question remains: why is my psd file not rendering correctly in ae?
    Further details:
    -photoshop cc and after effects cc.
    -macbook pro retina
    If still not clear enough, please tell me what details you are looking for furthermore

  • Getting Message as "File not open", when I ran background Job

    Hi,
    I developed a Migration Program, Which reads the data from Application serever and procced with further process in back ground mode.
    Same program is workind fine in Development System in Back ground mode (SY-BATCH = 'X', Scheduled a batch Job). So I transported to Quality system.
    Now When I run the program in background mode (SY-BATCH = 'X', Scheduled a batch Job), getting Message as "File is not Open" at Quality system. So I debugged the Batch job  through "JDBG", and found file opening and reading the content sucessfully.
    But its not working without debugging mode and getting message as "File not open".
    Is there any Authorizations required for background mode (without debugging).
    So can you please help me on this how to solve this issue.

    Try this code:
    DATA: PATH_NAME(80) TYPE C,
            LV_FILENAME TYPE STRING.
      DATA: LW_XSTRING         TYPE XSTRING,
            X_LEN             TYPE I.
      DATA: FILE_AUTH_ERR TYPE REF TO CX_SY_FILE_AUTHORITY,
            FILE_OPEN_ERR TYPE REF TO CX_SY_FILE_OPEN,
            FILE_OPEN_MODE_ERR TYPE REF TO CX_SY_FILE_OPEN_MODE,
            FILE_CLOSE_ERR TYPE REF TO CX_SY_FILE_CLOSE,
            FILE_CONVERSION_ERR TYPE REF TO CX_SY_CONVERSION_CODEPAGE,
            FILE_TOO_MANY_ERR TYPE REF TO CX_SY_TOO_MANY_FILES,
            MESS TYPE STRING,
            W_TEXT TYPE STRING.
      DATA: L_RC TYPE INT4.
    concatenate pathname lv_filename into lv_filename.
    TRY.
          OPEN DATASET LV_FILENAME FOR INPUT IN BINARY MODE MESSAGE MESS.
        CATCH CX_SY_FILE_OPEN_MODE INTO FILE_OPEN_MODE_ERR.
          W_TEXT = FILE_OPEN_MODE_ERR->GET_TEXT( ).
          L_RC = 1.
        CATCH CX_SY_FILE_AUTHORITY INTO FILE_AUTH_ERR.
          W_TEXT = FILE_AUTH_ERR->GET_TEXT( ).
          L_RC = 2.
        CATCH CX_SY_CONVERSION_CODEPAGE INTO FILE_CONVERSION_ERR.
          L_RC = 3.
          W_TEXT = FILE_CONVERSION_ERR->GET_TEXT( ).
        CATCH CX_SY_TOO_MANY_FILES INTO FILE_TOO_MANY_ERR.
          L_RC = 4.
          W_TEXT = FILE_TOO_MANY_ERR->GET_TEXT( ).
        CATCH CX_SY_FILE_OPEN INTO FILE_OPEN_ERR.  "File already open
          L_RC = 5.
          W_TEXT = FILE_OPEN_ERR->GET_TEXT( ).
      ENDTRY.
      IF L_RC = 0.
        L_RC = SY-SUBRC.
      ENDIF.
      IF L_RC <> 0 OR SY-SUBRC NE 0.
    Issue Error message in open file.
       CONCATENATE MESS 'Open dataset failed'  w_text INTO MESS SEPARATED BY SPACE.
       message Exx(yyy) with mess.
          ELSE.        "file exists and can be opened
      ENDIF.

  • PDF File not opening in browser for sharepoint 2010

    Recently we have moved our web application from one server to another in Sharepoint 2010. Back up of entire web application was taken and restored in another server. But in the new server , the PDF files in the document library is not getting opened in browser.
    it always open in browser
    I have already made following changes but didn,t work
    Set browser file handling to Permissive from central admin
    Set "open in browser" in setting s of doc library
    Set the doc library file handling property using $docLib = $web.lists["Your Document Library Title"] $docLib.BrowserFileHandling = "Permissive" $docLib.Update()
    Added "AllowedInlineDownloadedMimeType.Add("Application/Pdf") in web app
    Installed Adober eader in client machine
    Even after trying all these, the PDF files are still opening in Client application(Adobe reader) but not in the browser
    It would have been great help if anybody provide a solution for this. I have been banging head on this for two days

    It would be handy if you didn't double post too.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/81ed0362-4033-4a31-b265-c1aba43c3d14/pdf-file-not-opening-in-browser-for-sharepoint-2010?forum=sharepointadminprevious
    To answer your question, you've tried most things that I normally see working, but there may be an extra solution here for you.  The solution 2 Powershell that deals with updating the Inline MimeType may help.
    http://www.pdfshareforms.com/sharepoint-2010-and-pdf-integration-series-part-1/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

Maybe you are looking for

  • ''Printer Offline' with Samsung ML 2851ND and Macbook Pro via USB

    Running Snow Leopard 10.6.8.     The printer was working well, but I disconnected the computer and when I reconnected, it would not print.   The print dialog box says the printer off line and the printer is puased.   When I hit resume, it says 'unabl

  • How do I stop Determining Gapless Playback?

    Yet again, another iTunes upgrade has caused the horrible gapless playback scan to occur on my iTunes library. As a result, iTunes is totally unresponsive until this action completes. In my case, it's really slow as I'm accessing my files wirelessly

  • Songs are not able to sync

    songs are not able to sync into my iphone via itunes... can anyone help???

  • Any http/telnet API to activate camera to start/stop recording?

    Hi all, The function is involved in a IoE(Internet of Everything) project for customer. A. The action of 'start to record': will be triggered by event, such as when a sensor has detected some smoke in one room. The platform will activate camera by se

  • ASM disk mappings

    Hi All With ASMlib when setting up ASM you add disks with a command such as this " /etc/init.d/oracleasm createdisk VOL1 /dev/sdg" as described in metalink article 275315.1. You can then query the disks ASMlib knows about using this command "/etc/ini