I am new to webpage design but I know html and css. I work on a Mac mini. I have downloaded a template to my harddrive, opened TextEdit, changed the setting to "plain text" and then opened the index.html file to make a change. Then, when I access that changed file in Safari, it shows me the TextEdit version with the change, not the formatted one. This seems so simple, but it doesn't work. What am I missing?
No, it didn't change the extension to .txt but to .html. However, I have just discovered that TextEdit strips all coding from the document by making it a "plain text" document. so that is exactly the problem, it is no longer referencing the style.css stylesheet! How do I put the html web document in a text editor that I can preserve the codes from the template and make changes?
I appreciate your help on this. I'll be happy if I can just play with code. I don't want to take the time to learn GoLive or another program.
Yes, I did that, but it also stripped out all the codes so that the style sheet wasn't referenced and none of the formating was there. So I came up with another work-around! I opened the file in the browser and went to "View Source." That showed me all the coding and text. I copied that and put it into TextEdit, already set for plain text. Then I had a file I could edit and all the coding was there!
Thanks for encouraging me to wrestle with this! It feels so good when an answer comes through the mist!
Of course you also need to have the css file uploaded and in the folder where the link refers to it. To preview locally in Safari from the file on your hard disc, you'll want to save a copy the css file into the same local folder / relative path where you saved the local copy of the html.
If you can't make this work, maybe post a link to where your page is.