# Hosted website css stylesheet problem

**URL:** <https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358>\
**Category:** Client SDKs\
**Created:** [March 15, 2016, 1:19pm UTC](https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358 "2016-03-15T13:19:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reto](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Reto](https://community.dreamfactory.com/u/Reto)\
**Post date:** [March 15, 2016, 1:19pm UTC](https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358/1 "2016-03-15T13:19:16Z")

</div>

Hi all,

I have created a simple webapp, based on the phonebook exemple with dreamfactory 2.1.0. The files are stored on dreamfactory files.

But I can’t include the css stylesheet file.

 ![](https://canada1.discourse-cdn.com/flex035/uploads/dreamfactory/original/1X/2c3b716de867468a64a3815de6666a47a327b0a8.JPG)

The console displays the following message and the stylesheet in resources is empty.

![](https://canada1.discourse-cdn.com/flex035/uploads/dreamfactory/original/1X/9dcab34e0ae851075c6a4efb54139227e4cc98d6.JPG)

Here the index.html, which should be correct.

The css file is correct utf-8 encoded. I created it with notepad++.

What could be the problem here?

Thx for any hints.

---

<div class="post-metadata">

**Author:** ![thallstein](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@thallstein](https://community.dreamfactory.com/u/thallstein)\
**Post date:** [March 17, 2016, 11:58pm UTC](https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358/2 "2016-03-17T23:58:45Z")

</div>

Hi - Did you get an answer to this? I’m having the same issue. Thx.

---

<div class="post-metadata">

**Author:** ![Reto](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Reto](https://community.dreamfactory.com/u/Reto)\
**Post date:** [March 21, 2016, 7:11am UTC](https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358/3 "2016-03-21T07:11:00Z")

</div>

Unfortunately not. And I hadn’t time to investigate it any further.

My latest guess was, that we have to modify a config file of the apache webserver. It seems that apache doesn’t send the css files with the right mime type.

---

<div class="post-metadata">

**Author:** ![Reto](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Reto](https://community.dreamfactory.com/u/Reto)\
**Post date:** [March 31, 2016, 3:15pm UTC](https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358/4 "2016-03-31T15:15:39Z")

</div>

Further investigations. The Response Headers tells me X-Powered-By: PHP/5.5.31. So the Problem comes not from the apache but a PHP configuration - I guess.

But I still couldn’t solve it.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [March 31, 2016, 3:43pm UTC](https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358/5 "2016-03-31T15:43:14Z")

</div>

Fix for this is coming in the next release.  
May already be available in the develop branch of the repo – just know that the dev branch is not fully tested for stability (hence why it’s not released officially yet.)

---

<div class="post-metadata">

**Author:** ![thallstein](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@thallstein](https://community.dreamfactory.com/u/thallstein)\
**Post date:** [April 1, 2016, 5:56pm UTC](https://community.dreamfactory.com/t/hosted-website-css-stylesheet-problem/2358/6 "2016-04-01T17:56:30Z")

</div>

Great to hear. Thanks.
