How to reference a local absolute file path in html

Viewed 6458

I'm building a website locally using Apache, MySQL and PHP. I have different subfolders and I'm trying to give one absolute reference to my css file from my main header.php includes file.

Inside of header.php I have:

<link href="/Users/nicolauria/Sites/sd/css/style.css" type="text/css" rel="stylesheet" />

The css file does not load correctly. Developer tools gives me this message "The requested URL /sd/css/style.css was not found on this server."

Any help is greatly appreciated! Nico

3 Answers
Related