Not working in Preview

hiro 4 weeks ago in iPad • updated by Alexander Blach (Developer) 4 weeks ago 1

If i write absolute paths, the app can not recognize the root folder and it can not show correct preview.

<link rel=“stylesheet” href=“/css/css.css”>

I want the app to recognize “/“ as the working folder.

Please only use relative paths: 

  • to reference a file in the same folder, use href="file.css"
  • to reference a file in a subfolder, use href="subfolder/file.css"
  • to reference a file one above the current folder, use href="../file.css"

"/" would reference the root of the preview server, which won't work.