Issues with writing html coding and how safari interprets it

Hi,
I have been having a frustrating 24 hours with my basically brand new iMac.
I have just started a course in web design and just doing a basic html unit. When I put the following in Textedit it comes up very strangely.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title> Shifty Sam’s Saleyard</title>
</head>
<body bgcolor="blue">
<h1 align = "center">
<font color = "red" face = "verdana, arial">Shifty Sam's Saleyard</font>
</h1>
</body> </html>
The h1 isnt centered, isn't in the correct font and comes up as green!
I have tried using other text editors like the Notepad App in the App Store and Textwrangler with the same result. Then I thought I would try a different browser and downloaded Firefox with the same result.
The frustrating this is that if I type out this html in Notepad on my Windows machine and open in IE it works perfectly.
I just did an experiment and emailed the html doc to my windows machine and tried to open in Notepad and it came up very strangely.
I have looked at other posts and changed around preferences in TextEdit.
I hope someone can help - this is really doing my head in that I can't even do the most simple task on my brand new computer!
Thanks

Because i do
Seriously, I've programmed all my adult life working in Unix until I switched to OS X.  I've been through the complete range of editors starting with ed to vi to emacs with a bit of teco thrown in.
When I switched over to OS X I tried using TextEdit, trying to stay with all the native Apple tools and just found it to limiting for programming.
While I was able to get it to be a plain editor and not throw in things I didn;t want in my files or change things in the files behind my back it never had the 'right feel' or the power I was looking for.
I think if you're doing text TextEdit is fine but for programming tasks it's to limited. And why would you not want to use the best tool (or at least a better tool) for the job if it will make the job easier?
No, for the user doing some programming and system work (looking at plist files and such) TextWrangler is the way to go. Good power and expandability but fairly easy to use for a new or casual user.
regards

Similar Messages

  • Issues with RoboHelp HTML Help and IE7

    I attempted to create a basic (one-topic) HTML Help file
    using RoboHelp X5 (5.0.2 update), with the topic tied to the TOC,
    index, and search navigation tools. I attempted to open the CHM on
    a PC running Windows XP / IE7, but it displayed the "page cannot be
    displayed" error.
    I tried to open the CHM file on another PC running Windows
    2000 / IE6, and it worked like a charm.
    Apparently, there is something about IE7 (or Windows XP, but
    I doubt it) that breaks RoboHelp HTML Help files. Does anyone have
    any information about this issue? Thanks!
    - Greg

    Welcome to the forum.
    The problem contrary to your belief originated under Windows
    XP.
    Click
    here for an explanation and the options.

  • I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    That is because you don't have a web server configured and running to serve the html page. In order to see the page in a browser you need to access it using a url similar to http://localhost/~yourUserName if you are serving the page from your user account.
    Prior to Mountain Lion you could go into web sharing and turn on the web server. With Mountain Lion there is no option, other than using terminal, to turn on the web server. The web sharing menu item has been removed in Mountain Lion. Apache is still on your computer but it will take a little searching these forums or the Internet to find how to turn it on.
    If you want a graphic user interface to turn on/off the Apache server you could download and install a server application like xampp, http://www.apachefriends.org/en/xampp.html. I use this and it works well.

  • My wife has issues with her AOL email and was told to contact Apple about a virus scan. Has anyone else had a similar issue?

    My wife has issues with her AOL email and a tech rep told her to contact Apple for a virus scan. Has anyone else had a problem like this?

    You forgot to describe the 'issues' but there are no viruses that affect Apple OS X.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer some guidance on the main security threats and how to avoid them
    Bear in mind that from April to December 2011 there were only 58 attempted security threats to the Mac - a mere fraction compared to Windows malware:
    http://www.f-secure.com/weblog/archives/00002300.html
    (I have ClamXav set to scan incoming emails, but nothing else.)

  • However, we've had issues with other legacy systems and programs for outlook

    I have a user who when she logs into her workstation and tries to access her outlook folders she is denied access. If she removes and then adds them back they work. Only one other person on our network had this problem which I initially thought was connectivity
    related. I replaced their cat five cable and that seemed to solve their problem. I tried this with this user and it cleared up for about a week but happened again today. Any thoughts or experience with this. Outlook doesnt support archives in a network share
    so I cant turn to them. It uses a login batch script to load mapped drives according to department. This all predates me so I did not build them. However, we've had issues with other legacy systems and programs so it is highly possible that this could be an
    issue.

    Will:Hi! Hi!
    I use Firefox and it is now No. 1 on my choice of browsers. I agree it doesn't like the "for IE only" coded sites but then IE is now a non issue as it is dead in the water! So Safari is now really bloated and getting slower by the version. Firefox is quick, good to look at with numerous skins, and what is more has become the browser of choice for web developers on both platforms because it sticks to the WWC3 code. Camino is just another flavour of Netscape which seems to be a bloat AOL IE wannabee product. Do yourself a favour and download Firefox. Give it a few spins around the block and I'm sure you will agree. As for the sites it declines to accept because of bad code, then I would suggest a strong letter of protest to the webmaster! For too long IE has been flouting the rules and trying to be the only game in town. Take some affirmative action and let the webmasters know there are other browsers available to users. If you are still not a believer then check this out:
    http://www.pcworld.com/reviews/article/0,aid,118959,00.asp
    May the force be with you!

  • Sync issues with iPhone 6 Plus and iTunes

    I'm having issues with syncing my iPhone and iTunes.
    I am running: Mavericks 10.9.3 | iTunes 11.4 | iOS 8.0.2
    Every time I try to sync my iPhone 6 Plus with iTunes, the sync process gets stuck on step 5 of 5 (waiting for changes to be applied).  The longest this has occurred for is 2hrs.  After this time I have stopped the sync and ejected my iPhone.
    I had another issue with my phone when playing music.  When going to play music, I was given the error message saying that the song could not be found.  I connected my iPhone to iTunes and went to the tab in summery page, 'on this iPhone'.  I found the song and could see that next to the song was a small what looked like dotted grey circle.  After Googling this, I found a video saying that if i was to remove all my music and then add it again, this should fix the problem with this song.  I did this and this was when the issue occurred again.
    I unticked the option to remove all music but the sync did not finish. So I cancelled the sync, ejected my iPhone and tried again.  This time, the summery page of my iPhone said there was no music on my iPhone and the 'on this iPhone'  tab, this all so said there was no music however, my music was still on my iPhone including the song that would not play.  All played ok.
    I have read lots in the Apple forums about lost of difference reason this may be happening.  Things like bugs in iOS 8, app updates being transferred during the sync process, the latest iTunes version has bugs and even a dodgy USB cable could cause it.  My iPod running iOS 5 syncs all ok but I get this problem as well on my iPad Air.
    I all so had this issue with my old iPhone 4S.  The problem occurred when running iOS 7 and 8 on the 4S.  When I had it on the 4S, I did a restore of the 4S 4 times and thought I had found the issue down too a dodgy app.  However, now that it has happened on my new iPhone and still not using that app, could this be an issue with my Mac/iTunes?
    I am in contact with Apple Care, but this is such a long process. 
    So if anybody could please offer any advice on this or steps to try to maybe solve the issue, it would be really helpful.   Or if anybody is experiencing the same problem, it would be good to know its not just my devices and Mac producing this sync problem.
    I will update my post with any information provided by Apple Care as and when I get it.
    Thanks for reading and thanks for your time.
    Mark. 

    Hi,
    Just wanted to updated my original post and give some more information on this issue that I'm having with my iOS devices running iOS 8.0.2 and iTunes 11.4.
    Firstly I just want to updated my details about what version of Mavericks I'm running.  I'm running 10.9.5 - I put the wrong version down in my original post.
    So over the last week, I have had a few phone calls with Apple Care an am dealing with a senior technical advisor about this issue.
    I have been given some instructions that I am currently working through to see if it solves the sync issue with iTunes and my iOS devices. 
    The Apple Care advisor has pointed out that a iTunes version issue with music that I have ripped to iTunes and the current iTunes version could be what is causing the problem.  For example, every song that I have purchased from iTunes since having an account, I was told are all exactly the same the same when it comes down the to data/information about that track/album that iTunes stores with the music but when it comes to music that I have added to iTunes myself from a CD,  this was added and encoded with the version of iTunes that was running at the time of adding the music.  So going through all the music that I added to iTunes over the last 10 years, you can imaging that there was lots of mixed version of iTunes linked to lots of different music.
    At the moment, I'm having to go through all my music and find any that I have added and create a new ACC version of that music and delete the old version.  However, due to the amount of music that I have, this is going to take a long time.  When I was on the phone to the Apple Care advisor, we did several albums as a test and they all synced over to my iPhone.  This may just have been luck though at that time.
    Now, I'm not saying that this will solve the problem that I have with the sync issue but I am going to try it and see how I get on.  The only down side to this fix as far as I can see at the moment, is  that when it's all done, I think I will have to fully restore all my iOS devices to get music on to them.
    I will of course updated this topic when I have got through all my music and tried to sync my iOS devices.
    Thank you all for your comments.

  • I have been having issues with not receiving texts and voicemails daily, for a few months now. If I turn the phone completely off, when I turn it back on the messages will flood in from hours before. I can't be continually turning off my phone in case som

    I have been having issues with not receiving texts and voicemails daily, for a few months now. If I turn the phone completely off, when I turn it back on the messages will flood in from hours before. I can't be continually turning off my phone in case someone left me a message. How do I resolve this issue?

    Wifi:  my Cell phone will remember 10 wifi connections.  So delete any you don't use often and your home wifi and try to enter home wifi again.
    if it still won't connect to home wifi, call your internet provider for help.  You may need a newer router or different settings Or upgraded service.   Your phone seeks the best connection and will refuse lesser connections.
    last resort.  Backup the phone.  Do a full reset, then restore as new with the backup.
    if still not fixed, go back to apple and insist on repair or replacement.
    HOWEVER.   voicemail is not a wifi issue, it's a carrier function, which is why the SIM card is a suspect.

  • HT1349 Has anyone had issues with the iphone 4s and facebook.

    Has anyone had issues with the iphone 4s and facebook. I have downloaded the app and sometimes it will let me log in and then it will log me out and not let me back in. I have deleted and downloaded it several times and nothing is working. HELP!

    @razmee: rather unhelpful.
    @tata - we're having the same trouble, and the only solution we've found doesn't fix it.
    1) uninstall
    2) login on PC/MAC and change password
    3) reboot iphone
    4) install facebook app, reboot again
    5) login from iphone. 
    No joy.
    Safari works, but not for the apps.
    Of course, it's Facebook that has to fix this.

  • I cant copy and paste images with firefox but i can with MS explorer why and how is this?

    i cant copy and paste images with firefox but i can with MS explorer why and how is this? i can only copy text but not images is ther a way i can copy images with firefox and how??

    I was having this issue with MS Live email. The old Microsoft shortcuts work. For copy press ctrl+c. For paste press ctrl+v. Here is a webpage that lists all Firefox shortcuts. http://www.mouserunner.com/FF_Shortcuts1Printable.html

  • HT4628 Still having issues with Lion os X and wi-fi

    I am still havign issues with Lion os X and wi-fi.   I have 3 domputers in my house including the new macbook pro that has lion os x installed.    The wifi drops out all the time (every 2 minutes).   I have followed all the instructions on how to fix this but I am still having issues.    The other two computers work fine,  one of the is Lion os X that has been updated but I managed to play with the setting and fix this one.   This computer worked fine on Snow leapard and then a soon as I installed Lion the wifi started having issues.
    When will apple make an update that is going to fix this problem.     You want to buy a new computer that works,  I took it into apple and they told me that it is my router,  but I know it is the software as there are 100's of blogs and threads about this exact issue occuring only when their computer was updated to Lion.
    Is there anything else I can do to fix this issue other then un-installing Lion and buying Snow Leapard?

    Does this problem happen with just your airport base station?  Do you have a 3rd party wireless router?  Can you duplicate the problem using any wifi access point?  Did your computer come with 10.7 preinstalled?  Did you purchase the applecare with your computer?

  • Lenovo G560 - Issue with won't boot and black screen after HDD upgrade

    Lenovo G560 - Issue with won't boot and black screen after HDD upgrade.
     What happen: My laptop was working fine, no blue screen issue, no funny business at all. I bought a new SSD Intel 120 GB and thought it would be a good idea to replace the HDD. I shutdown and disconnected the power adapter, waited a couple of minutes and removed the battery. I opened up the back case and replaced the HDD. And put all the screws back and put the battery back in.
    Problem: The very first time I turned the power on, nothing happens besides a black screen. I pressed the dvd drive it works and opens up and closes. I waited for about 30 mins and still has blac screen. When I mean black screen, no bios menu, no logo, just a black screen with the fan sound on.
    I have tried these:
    1. Unplugged everything - battery, adapter, and pressed the power on button for about 60 seconds, nothing, the laptop turns on with the LED display on for both on and battery LED's. But nothing but black screen, no sound of windows loading just the fan and black screen.
    2. I tried putting back my old 2.5" and nothing but black screen.
    Thoughts and suggestions?
    Solved!
    Go to Solution.

    Hi Autoexit173,
    Welcome to Lenovo Community!
     As per the query we understood that you are facing issue with system not booting in your Lenovo G560 laptop.
    As you have mentioned that the system not booting, please try to remove the RAM and  turn on the system and check if you can hear any beep sound. Also try to clean the RAM slots and check for the issue.
    Click here for the steps to remove the RAM and refer page number 40.
    Hope this helps. Do post back if issue persists!
    Best regards,       
    Ashwin.S
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • I want to set up the Time Machine and I would love to use the Time  Capsule but since I already have a wireless router I need suggestions on  what other external disks Apple could recommend to use with the Time Machine and  how to configure that disk

    I want to set up the Time Machine and I would love to use the Time
    Capsule but since I already have a wireless router I need suggestions on
    what other
    external disks Apple could recommend to use with the Time Machine and
    how to configure that disk.
    A complication that I need to resolve is the fact that I am using Vmware
    Fusion to be able to use Windows on my Mac. Now it seems that Time
    Machine is not backing up my files
    on that virtual Windows without additional configuration and my question
    is whether you can advise me here or whether this is only a matter for
    the Fusion virtual machine.

    If you want to use Time Capsule you can.. you simply bridge it and plug it into the existing router.. wireless can be either turned off or used to reinforce the existing wireless.. eg use 5ghz in the TC which is much faster than your 2.4ghz.
    You can also use a NAS.. many brands available but the top brands are synology, qnap and netgear readynas  series. These will all do Time Machine backups although how well always depends on Apple sticking to a standard. There are cheaper ones.. I bought a single disk zyxel which was rebadged and sold through my local supermarket. It actually works very well for TM at least on Snow Leopard. Major changes were made in Lion and again ML so do not instantly think it will work on later versions. I haven't tried it yet with those versions.
    Any external drive can be plugged into the mac. Use the one with the fastest connection or cheapest price according to your budget. USB2 drives are cheap and plentiful. But no where near as fast as USB3 or FW800. So just pick whichever suits the ports on your Mac. Interesting Apple finally moved to USB3 on their latest computers.
    TM should exclude the VM partition file.. it is useless backing it up from Mac OS side.. and will slow TM as it needs to backup that partition everyday for no purpose.. TM cannot see the files inside it to backup just the changes.
    You need to backup windows from windows. Use MSbackup to external drive.. if you have pro or ultimate versions you can backup to network drive. But MSbackup is a dog.. at least until the latest version it cannot restore the partition without first loading windows. There are about a zillion backup software versions for windows.. look up reviews and buy one which works for you. I use a free one Macrium Reflect which does full disk backups and is easy to restore.. to do incremental backups though you have to pay for it.

  • Hi my name Abukar I had an old apple ID and I had problem with signing it so I decided to make a new apple ID with a new email address, so how can I link with two apple IDs and how can I get back all my previous apps that I purchased before, I cloud stuff

    Hi my name Abukar I had an old apple ID and I had problem with signing it so I decided to make a new apple ID with a new email address, so how can I link with two apple IDs and how can I get back all my previous apps that I purchased before, I cloud stuff

    It is not possible to do that.
    Allan

  • TS1398 I have the ipad retina display version - I have a BIG issue with this when out and about that on about 50% of the time will it see my HTC mobile WiFi hotspot - rebooting either, or both devices doesn't cure the problem it drives me MAD!!!!

    I have the ipad retina display version - I have a BIG issue with this when out and about, that only about 50% of the time will it see my HTC mobile WiFi hotspot - rebooting either, or both devices doesn't cure the problem it drives me MAD!!!!
    The HTC hotspot works fine with everything else I connect to it.
    Also - ipad will not connect to my HTC via bluetooth. Again, I can connect to everything else with my HTC other than my ipad.
    I have to say this is my first venture into Apple products and I have always wanted to get away from my windows based laptop to get a MacBook, the problems I have had (flash player etc) & continue to have (as above) are putting me right off swapping over. I HATE technology that doesn't work and my ipad has been hard work!

    I stated my ipad as being an ipad2, but I now think it is a 3??? It was new Jan this year and is the 64gb retina display version.
    I really would like to get to the bottom on this problem wit mobile hotspots as it is sitting on my desk next to me now and I cannot get it to connect to my HTC mobile hotspot!!!! It might be taking a flying lesson soon at this rate!!! Grrrrrrr...........

  • Issues with Bex query structures and Crystal Reports/Webi

    Hi experts,
    I'm having an issue with Bex Query structures and nulls. I've built a Crystal Report against a Bex query that uses a Bex Query structure. The structure looks like the following
    Budget $
    Budget %
    Actual $
    Actual %
    Budget YTD
    etc
    if I drag the structure into the Crystal Report detail section with a key figure it displays like this
    Budget $     <null>
    Budget %     <null>
    Actual $     300
    Actual %     85
    Budget YTD     250
    the null values are displayed (and this is what is required). However if I filter using a Record selection or group on a profit centre then the nulls along with the associated structure component are not displayed.
    Actual $     300
    Actual %     85
    Budget YTD     250
    Webi is also behaving similarly. Can anyone explain why the above is happening and suggest a solution either on the Bex side of things or on the Crystal Reports side of things? I'm confused as to why nulls are displayed in the first example and not the second.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Crystal Reports 2008 V1
    Thanks
    Keith

    Hi,
    Crystal Reports and Web Intelligence will only show data which is in the cube. You could have an actual 0 or Null entry whithout grouping but by changing the selection / grouping in the report the data does not include such entry anymore.
    ingo

Maybe you are looking for