svn: /web/php/trunk/ include/header.inc styles/ie-html5.css styles/theme.css

[email protected] (Adam Harvey)
Newsgroups php.webmaster
Message-ID <[email protected]>
aharvey                                  Fri, 07 Jan 2011 08:56:58 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=307211

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:
    U   web/php/trunk/include/header.inc
    D   web/php/trunk/styles/ie-html5.css
    U   web/php/trunk/styles/theme.css

Modified: web/php/trunk/include/header.inc
===================================================================
--- web/php/trunk/include/header.inc	2011-01-07 08:54:05 UTC (rev 307210)
+++ web/php/trunk/include/header.inc	2011-01-07 08:56:58 UTC (rev 307211)
@@ -37,8 +37,6 @@
   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" />

Deleted: web/php/trunk/styles/ie-html5.css
===================================================================
--- web/php/trunk/styles/ie-html5.css	2011-01-07 08:54:05 UTC (rev 307210)
+++ web/php/trunk/styles/ie-html5.css	2011-01-07 08:56:58 UTC (rev 307211)
@@ -1,5 +0,0 @@
-/* Apply some default styles to the HTML5 elements we're using in IE. */
-
-section, footer, aside {
-    display: block;
-}

Modified: web/php/trunk/styles/theme.css
===================================================================
--- web/php/trunk/styles/theme.css	2011-01-07 08:54:05 UTC (rev 307210)
+++ web/php/trunk/styles/theme.css	2011-01-07 08:56:58 UTC (rev 307211)
@@ -494,4 +494,7 @@
     color: #000;
 }

+section, footer, aside {
+    display: block;
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.