"Builtin PHP-Server" Problem with Safari

Hi,

I have a simple test.html page witch uses a test.css

test.html

<!DOCTYPE html> <html><head>      <link rel="stylesheet" type="text/css" href="test.css" /> </head><body>      <h1>Hello World in red</h1>
        ... some php stuff    <body></html>


test.css

h1 { color: red; }


The page runs in the PHPStorm build-in PHP Server on port 8081.

In firefox everyhing works fine.

In Safari the page is displayed but the css is not loaded (hello Wold not red).
If I look at the html source in safari I see the link to the test.css - it is found, if I click it.
If I look at the h1 tag in test.html safari tells me it cannot find a style.

What´s wrong? How can I fix it?

Please sign in to leave a comment.