Jump to content


Photo

Dynamic Style Sheet & Firefox


  • Please log in to reply
1 reply to this topic

#1 compnet32

compnet32
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 March 2006 - 07:38 PM

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

#2 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 22 March 2006 - 08:03 PM

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.
Disclaimer: No matter how harsh I may be, I'm always IMO only.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users