Doing web design course - mac v windows problem?

Joined
May 5, 2012
Messages
47
Reaction score
0
Points
6
Location
Ireland - West Cork - it's a big beautiful place:-
Your Mac's Specs
Mac Mini 2.3GHz Intel Core i5 8GB OS X 10.7.5,iPad 1 - 64gb WIFI, iPhone 4, MacBook Pro OS X10.8.
Mods, feel free to move to the correct area if Im wrong here.....thanks :)

My problem is I can enter .html code on a windows computer that i borrowed to test out my theory. I get my First Web Page banner the way is should look online in 5 mins. Yeah!!!

But......when I work on my MacBook Pro, no matter what I try (and Ive spent hours on something thats supposed to take 5 mins) it just wont look right when I go to view online:Angry:

Im suspecting/hoping it has something to do with my Mac settings at this stage because it works on Windows for me. On my Mac I use Text Editor, save as a .html file and when I open it up as a browser page using Safari, all I see is the code entered not the Banner in its color. (when I say hoping, this mac is a refurb and I have visions of prolems arising).

Ive also tried saving the file as a .rtf file (for Text Editor), (saved as rich text I think it says - so not as a .html file). I then rename the file extension from .rtf to .html to enable me to open it in browser and heloooooo I see my banner........But also a lot of black text which isn't supposed to be there :|

Does anyone know what might be going wrong on the mac (settings perhaps), as I can do this fine on windows but not on the mac :-(

Thanks so much for any help anyone can give :)
 
Joined
Oct 1, 2007
Messages
7,163
Reaction score
275
Points
83
Location
UK
Your Mac's Specs
Mac Mini i5 (2014 High Sierra), iPhone X, Apple Watch, iPad Pro 12.9, AppleTV (4)
So the same, self contained html file displays ok on a windows machine but not on the Mac.

1. This is the exact same file?
2. Does reference any graphics in other folders etc?
3. Which browsers have you tried on both platforms?
4. Are you using validated html? Or are you using specific, browser dependant, features?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
On my Mac I use Text Editor, save as a .html file and when I open it up as a browser page using Safari, all I see is the code entered not the Banner in its color. (when I say hoping, this mac is a refurb and I have visions of prolems arising).

Ive also tried saving the file as a .rtf file (for Text Editor), (saved as rich text I think it says - so not as a .html file). I then rename the file extension from .rtf to .html to enable me to open it in browser and heloooooo I see my banner........But also a lot of black text which isn't supposed to be there :|
I think this is your problem. It sounds like you're not saving the HTML as plain text, which would cause problems. So, when you say "Text Editor", do you mean TextEdit? If so, it is, by default, a rich text editor. Although it can do plain text, you might be better to use an editor designed for coding such as TextMate.
 
OP
M
Joined
May 5, 2012
Messages
47
Reaction score
0
Points
6
Location
Ireland - West Cork - it's a big beautiful place:-
Your Mac's Specs
Mac Mini 2.3GHz Intel Core i5 8GB OS X 10.7.5,iPad 1 - 64gb WIFI, iPhone 4, MacBook Pro OS X10.8.
I think this is your problem. It sounds like you're not saving the HTML as plain text, which would cause problems. So, when you say "Text Editor", do you mean TextEdit? If so, it is, by default, a rich text editor. Although it can do plain text, you might be better to use an editor designed for coding such as TextMate.


Solved!! It was indeed the switch from Rich Text to Plain Text and hey Presto!! It worked:D

Thanks a Million :) And also for the link, I'll check it out, Im only beginning a Web Design course and see mentions of Dreamweaver etc so I'll stick to whats used in the course first maybe.....
 
OP
M
Joined
May 5, 2012
Messages
47
Reaction score
0
Points
6
Location
Ireland - West Cork - it's a big beautiful place:-
Your Mac's Specs
Mac Mini 2.3GHz Intel Core i5 8GB OS X 10.7.5,iPad 1 - 64gb WIFI, iPhone 4, MacBook Pro OS X10.8.
So the same, self contained html file displays ok on a windows machine but not on the Mac.

1. This is the exact same file?
2. Does reference any graphics in other folders etc?
3. Which browsers have you tried on both platforms?
4. Are you using validated html? Or are you using specific, browser dependant, features?


1. Yes
2. No (Thats my next step in the course) ;D
3. IE on Windows and Safari on Mac
4. Havn't a clue what that means but as I get deeper into my course Im hoping I will :Blushing:

Problem solved see post above by myself (Rich Text Versus Plain Text issue):)

Thanks for your reply, much appreciated :D
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,762
Reaction score
2,100
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Dreamweaver is considered the Cadillac of HTML/WYSIWYG editors from Adobe. There are other cheaper/free alternatives as well, but as you get serious into Web Design, having these kinds of software makes the process go faster, but initially it's nice to have a plain text editor to KNOW what you are coding in HTML/PHP/CSS/JavaScript or what other languages you are using..
 
OP
M
Joined
May 5, 2012
Messages
47
Reaction score
0
Points
6
Location
Ireland - West Cork - it's a big beautiful place:-
Your Mac's Specs
Mac Mini 2.3GHz Intel Core i5 8GB OS X 10.7.5,iPad 1 - 64gb WIFI, iPhone 4, MacBook Pro OS X10.8.
Dreamweaver is considered the Cadillac of HTML/WYSIWYG editors from Adobe. There are other cheaper/free alternatives as well, but as you get serious into Web Design, having these kinds of software makes the process go faster, but initially it's nice to have a plain text editor to KNOW what you are coding in HTML/PHP/CSS/JavaScript or what other languages you are using..

Thanks a mil! Good to know:Blushing:
 
Joined
Nov 15, 2011
Messages
948
Reaction score
150
Points
43
Location
Toronto
Your Mac's Specs
MBP 16” M1max 32/1tb and bunch of other mac/apple stuff
textMate is pretty good, I've used that quite a bit some time ago.

But Coda (panic software) truly rocks as a code editor. I've pretty much ditched dreamweaver and use code exclusively now full time.
 
Joined
May 19, 2009
Messages
8,428
Reaction score
295
Points
83
Location
Waiting for a mate . . .
Your Mac's Specs
21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
Ive found a Editor that i really like called Textastic that is a really good Code Editor and has been getting some good reviews especially now there is a Mac version The Dev has Made a App for Mac and iPad and iPhone with iCloud syncing and in future update links to GitHub through their API we hope . .

Textastic is a text, code and markup editor for iPad and iPhone with rich support for syntax highlighting, FTP, SFTP and Dropbox. It will continue to be actively developed to provide you with the features you need to get your work done.


I have sat on my iPad writing .h and .m files Objective-C and it really is nice and I'm only a Beginner Dev :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top