[pmwiki-users] Re: meta and inline-styles
mistyfire at autograf.pl
Fri Jul 22 14:45:35 CDT 2005
On Saturday 23 July 2005 00:42, you wrote:
> On Sat, Jul 23, 2005 at 12:56:24AM +0530, V.Krishn wrote:
> > Since pmwiki allows inline styling eg. in tables and divs,
> > Is it important that the following be included in the <head>?
> > <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
> I don't know that it's critically important; the specs recommend
> that user agents know what to do when it's omitted.
My observations with some of the best formed sites show that they do leave
this line out inspite of the inline-style usage.
> However, it is always nice to follow the standards as strictly
> as we can, and we certainly have several ways to do it.
> We can do it programmatically, as in
> $HTMLHeaderFmt['css-type'] =
> "<meta http-equiv='Content-Style-Type' content='text/css' />";
> or we can place it directly into the $HTTPHeaders with
> $HTTPHeaders['css-type'] = "Content-Style-Type: text/css";
> or we can leave it up to skin template creators to do it (and
> add it to PmWiki's default skins).
> I suspect that most of the PmWiki skin designers will continue
> to request that PmWiki's defaults not make a bunch of output
> related settings by default, so therefore it seems like we should
> leave it up to the skins to include this tag as appropriate.
I guess this would be best for the time being less other skin designers vote
or ask for it.
> Other opinions welcomed.
More information about the pmwiki-users