# Header Content Type not working

**URL:** https://forum.kirupa.com/t/header-content-type-not-working/261916
**Category:** Uncategorized
**Created:** [June 1, 2008, 7:13pm UTC](https://forum.kirupa.com/t/header-content-type-not-working/261916 "2008-06-01T19:13:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)
#### Post date: [June 1, 2008, 7:13pm UTC](https://forum.kirupa.com/t/header-content-type-not-working/261916/1 "2008-06-01T19:13:57Z")

</div>

Hey all…

Check out [http://www.icypenguin.ca/work/crystal-lake-homes/](http://www.icypenguin.ca/work/crystal-lake-homes/).

I have a main CSS file which is actually main.php, which consists of this:

```auto

<?php header("Content-type: text/css"); ?>

<?php
$corner_width = (1.5/65) * 100 . "%";
$middle_width = (62/65) * 100 . "%";
$nav_length = 100/7;
?>

<?php include("main.css"); ?>

```

The CSS loads fine on my localhost and Firefox on my MacBook, but not on my Windows desktop (IE and Firefox).

Any reason why?

---

<div class="post-metadata">

### Author: ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)
#### Post date: [June 1, 2008, 7:28pm UTC](https://forum.kirupa.com/t/header-content-type-not-working/261916/2 "2008-06-01T19:28:00Z")

</div>

Again - I’m retarded.

Had a \<base /\> in there that was pointing to my localhost…
