Jump to content

Archived

This topic is now archived and is closed to further replies.

compnet32

Dynamic Style Sheet & Firefox

Recommended Posts

Hello,

I am currently putting together a content management system for my website and am having a rather large issue with firefox. The entire site is held in the database and is called out through two files, a index.php and a styles.php.

The index page calls the header, content, and footer from the database. The content of course being whatever is being specified in the url ex. index.php?url=main

The style page is similar, in which it is called in the header:

<link href="includes/styles.php" rel="stylesheet" type="text/css" media="all" />

The page displays fine in IE, but in firefox it just generates the html with no reference to the style.php.

I have spent quite some time looking into this bug and I have found nothing on the net or in these forums. If someone could help me it would be greatly appreciated.

Thanks,

Micheal

Share this post


Link to post
Share on other sites
Firefox probably doesn't support linking stylesheets that end with anything other then .css. You might want to include style.php in your header as a <style> tag instead.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.