User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b) Gecko/20030507 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b) Gecko/20030507 an external stylesheet written in PHP, and with a PHP extension, does not work when the doctype is any variant of xhtml. these stylesheets seem to be completely ignored. Reproducible: Always Steps to Reproduce: 1. make a dynamic stylesheet in PHP, with a .php extension 2. link to the external stylesheet using either LINK or @import 3. use doctype xhtml (any variant) Actual Results: stylesheets are fnorded and ignored. Expected Results: Mozilla should have displayed the page WITH the styles specified this appears to also happen in Firebird and other versions of Mozilla and Netscape.
jeremy, is it a CSS stylesheet, and is it being served with the correct text/css MIME type?
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Component: Parser → Style System
QA Contact: dsirnapalli → ian
Resolution: --- → DUPLICATE
thanks... i put the following at the top of my php css files: header("content-type:text/css"); but, owing to the fact that i am a certified idiot, i didn't wrap it in php delimiters ("<?" and "?>" for those just joining us). D'OH!! it does appear to work now. thanks again, and sorry for duplicating!
You need to log in before you can comment on or make changes to this bug.