NikMac Posted September 26, 2009 Report Share Posted September 26, 2009 (edited) Hello World . . . . Edited September 26, 2009 by NikMac Quote Link to comment Share on other sites More sharing options...
jlhaslip Posted September 26, 2009 Report Share Posted September 26, 2009 Notice the "./" in front of the file reference? That means to start looking in this folder (the location of the html file). "../" means to go "back" one folder to start looking. This is referred to as "relative addressing" . Google it. Quote Link to comment Share on other sites More sharing options...
NikMac Posted September 26, 2009 Author Report Share Posted September 26, 2009 (edited) Hi, thanks for the quick reply. Edit: Sorry, I misunderstood - you're saying the code should be ? I tried that and nothing is changing. Edited September 26, 2009 by NikMac Quote Link to comment Share on other sites More sharing options...
jlhaslip Posted September 26, 2009 Report Share Posted September 26, 2009 Did you try the "./" solution? You might be surprised that it works. Quote Link to comment Share on other sites More sharing options...
NikMac Posted September 26, 2009 Author Report Share Posted September 26, 2009 (edited) Sorry about that, at first I thought you meant the "./" was a mistake. It changes nothing in the html preview - is it a problem if my root directory for the website contains spaces? I tried it without spaces, bur nothing happened. Edit: My apologies - the ./ did work. Sort of. When I preview index.html in a browser, it is styled correctly. There must be some problem with Komodo Edit's internal preview, so I'll take this to their website now. Edit2: Yes, it seems this is a reported bug when running Komodo Edit on Mac OSX 10.5/10.6 . It is fixed by putting <?xml version="1.0" encoding="UTF-8"?> at the top of the document. Thanks for your help. Edited September 26, 2009 by NikMac Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.