Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread David Dorward
On 27 Sep 2010, at 22:46, tee wrote: > Without CSS, wouldn't the browsers render the page just like normal HTML page > with browser default styling? Yes … so the blocks would collapse back to inline. > Quote Hugo, "It will create those elements for IE6-8 (and older browsers with > lack of HTML

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread Rob Crowther
On 27/09/10 22:46, tee wrote: Are these HTML5 tags inline elements by default or it's that (the latest) Firefox and Opera not yet supporting them? I thought they are of block elements. Firefox 4.0 will have support in the default stylesheet for the new HTML5 elements. It'll also have the HTML

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread tee
Thanks all for the help. display block it's is. I am so used to expecting Firefox to render everything correctly! When it doesn't, I couldn't think further :) Was going to use modernizr, therefor not worry about IE browsers, but didn't realize the script couldn't take care of CSS part. Are th

[WSG] Re: WSG Digest

2010-09-27 Thread Alan C. Whiteman
On Monday, September 27, 2010 01:22:59 pm you wrote: > * > WEB STANDARDS GROUP MAIL LIST DIGEST > * > > > From: tee > Date: Mon, 27 Sep 2010 03:13:58 -0700 > Su

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread David Dorward
On 27 Sep 2010, at 11:13, tee wrote: > Only the two Webkit browsers are able to render the "header" and "footer" > correctly. Most browsers don't yet apply default styles to them. Current versions of IE don't recognise them at all without a JS shim. While you can use a JS shim and explicitl

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread designer
Tee: try putting: In the head, and/*for html5 in IE*/ article, aside, figure, figcaption, footer, header, mark, menu, nav, section, small, time, video { display : block; } (or whatever is relevant) in your CSS.Bob- Original Message - From: "tee" To: Sent: Monday, Sep

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread Hugo Mendes
I meant FEATURE Detection. Sorry. Hm. On Mon, Sep 27, 2010 at 11:34 AM, Hugo Mendes wrote: > A best practice: Do browser detection instead. > > > function html5elm(elm) { >        return !!document.createElement(elm); > } > > var myArray = ['header','nav','section','aside','article','footer','h

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread Hugo Mendes
A best practice: Do browser detection instead. function html5elm(elm) { return !!document.createElement(elm); } var myArray = ['header','nav','section','aside','article','footer','hgroup']; for (var i = 0; i < myArray.length; i++){ html5elm(myArray[i]); } It will create those

[WSG] RE: WSG Digest

2010-09-27 Thread Paul.Goodwin
You need to set display: block -Original Message- From: wsg@webstandardsgroup.org [mailto:w...@webstandardsgroup.org] Sent: 27 September 2010 11:23 To: wsg@webstandardsgroup.org Subject: WSG Digest * WEB STANDARDS GROUP M

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread Chris Knowles
try adding display: block - by default they are usually displayed as inline in ie you need to add them via javascript before it will recognise them: document.createElement("header"); -- Chris Knowles On 27/09/10 8:13 PM, tee wrote: Only the two Webkit browsers are able to render the "header

[WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread tee
Only the two Webkit browsers are able to render the "header" and "footer" correctly. http://lotusseedsdesign.com/css-test/templegate.html header { height : 300px; width : 980px; text-align : center; position : relative; clear : both; overflow : hidden; margin : 0 auto; border : 1px solid #369; b