Can't View HTML scripts with my browsers

Discussion in 'Mac Basics and Help' started by Adudefelldown, Jul 24, 2009.

  1. Adudefelldown macrumors newbie

    Joined:
    Jul 24, 2009
    #1
    I just recently got a new Mac Book Pro and am trying to learning HTML. When I open up a HTML file that's located on my computer to view how it looks using firefox and safari it just shows the code. I have opened up the same files on my windows computer using Firefox and IE and they display correctly.

    I'm new to the Mac OS so I'm not sure if its a setting that I need to change or if I'm going about it incorrectly but any help would be much appreciated. I've also duel booted windows and I get the same results.
     
  2. HBOC macrumors 68020

    Joined:
    Oct 14, 2008
    Location:
    SLC
    #2
    hmm. that is weird. In safari in OS X, if you go to view, there is a tab that says view source, but all that does is open the html in another window.

    I don't know what to say... I haven't installed FF on my Mac yet. There has to be some plug in that is "on" or something...

    **Edit** i re-read your post. What are you using to write the html in? I use BBEdit. The files are saved as HTML? When i hit cmd-o and then select the file (in safari), it shows the page.
    But you are saying it will show the styling and such in FF on the windows side of things? ...
     
  3. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #3
    HTML files aren't called scripts.

    What program did you use to create the file? Does it have a .html extension? Did you save the file in plain text format?
     
  4. Adudefelldown thread starter macrumors newbie

    Joined:
    Jul 24, 2009
    #4
    It was in rich text not plain thats why it didnt work :eek:

    Thanks for the help!
     

Share This Page