On Fri, Aug 27, 2010 at 3:11 PM, David Dorward <da...@dorward.me.uk> wrote:
>
> On 27 Aug 2010, at 19:30, Tom Livingston wrote:
>
>> Line 12, Column 21: A charset attribute on a meta element found after
>> the first 512 bytes.
>>
>> Can anyone tell me why?
>
>
> You have too much content before the meta tag.
>

That was it. I was using Paul Irish's trick with conditional comments
to feed IE's CSS w/o conditionals with this:

<!--[if lt IE 7 ]> <html xmlns="http://www.w3.org/1999/xhtml";
id="ie6"> <![endif]-->
<!--[if IE 7 ]>    <html xmlns="http://www.w3.org/1999/xhtml";
id="ie7"> <![endif]-->
<!--[if IE 8 ]>    <html xmlns="http://www.w3.org/1999/xhtml";
id="ie8"> <![endif]-->
<!--[if IE 9 ]>    <html xmlns="http://www.w3.org/1999/xhtml";
id="ie9"> <![endif]-->
<!--[if gt IE 9]>  <html xmlns="http://www.w3.org/1999/xhtml";> <![endif]-->
<!--[if !IE]><!--><html xmlns="http://www.w3.org/1999/xhtml";><!--<![endif]-->


Mr. Irish using it on the body, with classes, but read on his site
that using on the html element was fine as well. Guess not. I think
I'll stick to the tried and true conditional comments it's it's
traditional use...

Thanks David.

-- 

Tom Livingston | Senior Interactive Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to