|
Posted by Oli Filth on 05/17/05 00:39
Neo Geshel wrote:
> Oli Filth wrote:
>
>> Neo Geshel wrote:
>>
>>> Gazza wrote:
>>>> Fails CSS validation.
>>>
>>> Really?
>>> http://jigsaw.w3.org/css-validator/validator?uri=http://www.continentalkit.com/css/global.css
>>>
>>> Somehow, I can't understand how you manage to get “Failed” from
>>> “Congratulations! Valid CSS! This document validates as CSS! ”.
>>>
>>
>> However:
>> http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//continentalkit.com/
>>
>> Although the CSS itself *is* correct. You need to check your MIME
>> types etc. if you're going to use XHTML and the <?xml ... ?> directive.
>>
> Yes, but I have no control over the mime-type that the server puts out
> (the site isn’t hosted with us), and a quick search of google hasn’t
> turned up anything that I can use in PHP (without throwing an error,
> that is). If you have any links that show me how I can get the server to
> modify a normal page’s mime-type through PHP (before the page is sent to
> the user), I'd be glad to implement it. So far, most everything that I
> have come across is related to setting the mime-type of an upload to the
> server.
>
header("Content-Type: ...");
Before any script output. However, there are issues with XHTML MIME
types and Internet Explorer (cos it's lame). Do a Google search for
"xhtml mime explorer" to find your options.
--
Oli
Navigation:
[Reply to this message]
|