Re: [WSG] html5 issue
On Aug 31, 2010, at 6:09 PM, Tatham Oddie wrote: 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. Could you share the reliable ie8 hacks that will do no harm to IE9 in the list? In very rare occasions I do need to target IE8 mostly just one or two element (the trigger has always been a combination of relative and absolute positing and floated elements), it really disturbs me to have to creating extra stylesheet for ie8, sometimes I can get away with it with zoom:1 but there are times different values for width, paddings and margins are needed. I found this but never feel comfortable using it. .test { color /*\**/: blue\9 } tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] html5 issue
In an attempt to begin using HTML5, I am getting this error: Line 12, Column 21: A charset attribute on a meta element found after the first 512 bytes. meta charset=UTF-8/ Can anyone tell me why? -- 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 ***
Re: [WSG] html5 issue
/ is not necessary to close the meta tag. meta charset=utf-8 Maybe this solve the problem. Gregorio Espadas gespadas.com @gespadas On Fri, Aug 27, 2010 at 1:30 PM, Tom Livingston tom...@gmail.com wrote: In an attempt to begin using HTML5, I am getting this error: Line 12, Column 21: A charset attribute on a meta element found after the first 512 bytes. meta charset=UTF-8/ Can anyone tell me why? -- 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 *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] html5 issue
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. -- David Dorward http://dorward.me.uk *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] html5 issue
On Fri, Aug 27, 2010 at 2:41 PM, Gregorio Espadas gespa...@gmail.com wrote: / is not necessary to close the meta tag. meta charset=utf-8 Maybe this solve the problem. Gregorio Espadas gespadas.com @gespadas No luck there, but thanks. Here's the head to my page: !DOCTYPE html html xmlns=http://www.w3.org/1999/xhtml; head meta charset=utf-8 titleTitle/title meta name=keywords content= / meta name=description content= / link rel=shortcut icon href=../favicon.ico type=image/x-icon / link rel=icon href=../favicon.ico type=image/x-icon / !--- STYLES --- link rel=stylesheet href=../includes/style.css media=screen, projection, print / /head Any help would be appreciated. Can't post a link at this time... -- 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 ***
Re: [WSG] html5 issue
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 ***
Re: [WSG] html5 issue
On Fri, Aug 27, 2010 at 2:16 PM, Tom Livingston tom...@gmail.com wrote: No luck there, but thanks. Here's the head to my page: !DOCTYPE html html xmlns=http://www.w3.org/1999/xhtml; change the above line to just html that will take care of this error. cut !--- STYLES --- this line will also throw an error due to too many dashes -- Jason Arnold http://www.jasonarnold.net *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
RE: [WSG] html5 issue
/ is not necessary to close the meta tag. meta charset=utf-8 Maybe this solve the problem. Imho, the / should make no difference, I believe the problem is that this meta is too far down in the markup. The OP should try to put that meta right after head -- Regards, Thierry www.tjkdesign.com | www.ez-css.org | @thierrykoblentz *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] html5 issue
!DOCTYPE html html xmlns=http://www.w3.org/1999/xhtml; change the above line to just html that will take care of this error. cut !--- STYLES --- this line will also throw an error due to too many dashes Thanks Jason! That's fabulous! Changing the HTML element was the trick! I can't, however, change the number of dashes as that is a ColdFusion comment and, well, I'm using ColdFusion! Thanks Again. -- 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 ***