You really shouldn't need to feed different CSS for every different version
of IE.

I talk more about this here: http://live.visitmix.com/MIX10/Sessions/EX20

Feel free to ping me off list if you have any specific scenarios that you
feel you need IE specific CSS for. I'll be happy to try and give you
cross-browser equivalents.


--
Tatham Oddie
au mob: +61 414 275 989, us cell: +1 213 280 9140, skype: tathamoddie


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Tom Livingston
Sent: Saturday, 28 August 2010 7:23 AM
To: [email protected]
Subject: Re: [WSG] html5 issue

On Fri, Aug 27, 2010 at 3:11 PM, David Dorward <[email protected]> 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: [email protected]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to