com web/php: Turns out some versions of Firefox need to be told that aside, section and footer are blocks as well, so move it into the main theme
stylesheet, since it's harmless for browsers that do support the new HTML5 elements.: include/header.inc styles/ie-html5.css styles/theme.css

From: Date: Fri, 07 Jan 2011 08:56:58 +0000
Subject: com web/php: Turns out some versions of Firefox need to be told that aside, section and footer are blocks as well, so move it into the main theme
stylesheet, since it's harmless for browsers that do support the new HTML5 elements.: include/header.inc styles/ie-html5.css styles/theme.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-23632@lists.php.net to get a copy of this message
Commit: f33a494da0a0767087a28f9bed88805b1bc5cf08 Author: Adam Harvey <aharvey@php.net> Fri, 7 Jan 2011 08:56:58 +0000 Parents: 0916068a296d167cb7adf3dad8d4f54cc55b077d Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=f33a494da0a0767087a28f9bed88805b1bc5cf08 Log: Turns out some versions of Firefox need to be told that aside, section and footer are blocks as well, so move it into the main theme stylesheet, since it's harmless for browsers that do support the new HTML5 elements. Changed paths: M include/header.inc D styles/ie-html5.css M styles/theme.css Diff: diff --git a/include/header.inc b/include/header.inc index 1f3693f..15867ab 100644 --- a/include/header.inc +++ b/include/header.inc @@ -37,8 +37,6 @@ if ($shortname) { document.createElement("aside"); document.createElement("footer"); </script> - - <link rel="stylesheet" type="text/css" href="<?php echo $STATIC_ROOT ?>styles/ie-html5.css<?php echo $v ?>" media="all"/> <![endif]--> <link rel="stylesheet" type="text/css" href="<?php echo $STATIC_ROOT ?>styles/reset.css<?php echo $v?>" media="all" /> diff --git a/styles/ie-html5.css b/styles/ie-html5.css deleted file mode 100644 index 8ef6533..0000000 --- a/styles/ie-html5.css +++ /dev/null @@ -1,5 +0,0 @@ -/* Apply some default styles to the HTML5 elements we're using in IE. */ - -section, footer, aside { - display: block; -} diff --git a/styles/theme.css b/styles/theme.css index 225c411..f81e5f8 100644 --- a/styles/theme.css +++ b/styles/theme.css @@ -494,4 +494,7 @@ footer a:hover { color: #000; } +section, footer, aside { + display: block; +}

« previous php.webmaster (#23632) next »