svn: /web/php/trunk/ include/header.inc styles/home.css styles/theme.css

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

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

Log:
Since we're already using the new HTML5 semantic elements elsewhere, let's use
<nav> as well.

Changed paths:
    U   web/php/trunk/include/header.inc
    U   web/php/trunk/styles/home.css
    U   web/php/trunk/styles/theme.css

Modified: web/php/trunk/include/header.inc
===================================================================
--- web/php/trunk/include/header.inc	2011-01-07 11:03:09 UTC (rev 307216)
+++ web/php/trunk/include/header.inc	2011-01-07 11:08:57 UTC (rev 307217)
@@ -43,6 +43,7 @@
   document.createElement("section");
   document.createElement("aside");
   document.createElement("footer");
+  document.createElement("nav");
  </script>
  <![endif]-->

@@ -79,7 +80,7 @@
   </div>
 </div>

-<div id="headnav">
+<nav id="headnav">

  <ul id="headmenu">
   <li id="headsearch">
@@ -203,7 +204,7 @@

  </ul>
 <br style="clear: both;" />
-</div>
+</nav>

 <div id='mega-drop-down'>
  <div id='menu-container'>

Modified: web/php/trunk/styles/home.css
===================================================================
--- web/php/trunk/styles/home.css	2011-01-07 11:03:09 UTC (rev 307216)
+++ web/php/trunk/styles/home.css	2011-01-07 11:08:57 UTC (rev 307217)
@@ -58,6 +58,11 @@
     border: none;
 }

+#mega-drop-down div.download a.windows {
+    background-image: url('/images/mega-windows.png');
+    background-position: 46px 50%;
+}
+
 #mega-drop-down div.download a span {
     display: block;
     clear: right;

Modified: web/php/trunk/styles/theme.css
===================================================================
--- web/php/trunk/styles/theme.css	2011-01-07 11:03:09 UTC (rev 307216)
+++ web/php/trunk/styles/theme.css	2011-01-07 11:08:57 UTC (rev 307217)
@@ -494,7 +494,7 @@
     color: #000;
 }

-section, footer, aside {
+section, footer, aside, nav {
     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.