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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo