compnet32 Posted March 22, 2006 Share Posted March 22, 2006 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=mainThe 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 Quote Link to comment https://forums.phpfreaks.com/topic/5528-dynamic-style-sheet-firefox/ Share on other sites More sharing options...
moberemk Posted March 22, 2006 Share Posted March 22, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/5528-dynamic-style-sheet-firefox/#findComment-19737 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.