Link css to html file on mac using text wrangler

I was wondering why when I try to link my style.css file to my index.html file, it doesn’t work when they are both stored in a folder “documents”, which is stored on iCloud.

(mac user and text wrangler user)

But when I moved the root folder “documents” to my desktop: css got linked to my html file!

Why is that?
So it means I can’t store my work on iCloud? (if i ever run out of space on my computer it would be nice to have iCloud)

I would ensure having enough space for your project in the first place.

But you could do it, then the link to stylesheet would have to be:

<link rel="stylesheet" href="">