The University of Texas at Austin

WebSpace

Why does Firefox ignore CSS files on WebSpace?

Cascading Style Sheet (CSS) files should always be assigned the content type "text/css." However, uploading CSS files to WebSpace through some installations of Internet Explorer results in the CSS files being incorrectly assigned with the "application/x-css" content type.

Some browsers accept "application/x-css" as an alias for "text/css," but Firefox does not. This results in Firefox ignoring the CSS files and displaying the website incorrectly.

If your CSS files are not rendering correctly in Firefox, use the following procedure to correct the content types for each of the affected files:

  1. Log in to WebSpace.

  2. Select an affected CSS file.

  3. Click the Manage icon in the toolbar and select Content Type from the drop down menu.

  4. At the Content Type page, in the New content type drop-down menu, select Other..., and enter "text/css" in the text field.

  5. Click Apply.

  6. Click Exit to return to the folder view. Repeat this process for all affected files.

  7. Once the content type is corrected, visit the affected website in Firefox and perform a hard refresh for the changes to take effect. To do this:

    • In Windows, press Control + Shift + R

    • On a Mac, press Command + Shift + R

Note: You can prevent this issue by uploading files through a browser other than Internet Explorer or by contacting the ITS Help Desk for additional suggestions.

Last updated June 8, 2012 @ 3:57 pm

We Can Help

Get help from an expert at the ITS Help Desk!

* Call us at 512-475-9400

* Submit a help request online

We also have a walk-in service in the first floor lobby of the Flawn Academic Center (FAC). Stop by and let us help you!