Commit:    d47fcc2698b81286df61140beb16265d747a30c4
Author:    Hannes Magnusson <[email protected]>         Wed, 4 Dec 2013 
17:03:51 -0800
Parents:   9bf1f752e731d27e7bc443cc3f0c10fabdcc8e36
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=d47fcc2698b81286df61140beb16265d747a30c4

Log:
Move styling to css to fix markup validation error

Changed paths:
  M  index.php
  M  styles/home.css


Diff:
diff --git a/index.php b/index.php
index 7c0b106..6add41c 100644
--- a/index.php
+++ b/index.php
@@ -73,7 +73,7 @@ foreach($frontpage as $entry) {
 </div>
 NEWSENTRY;
 }
-$content .= '<div align="right"><p><a href="/archive/">Older News 
Entries</a></p></div>';
+$content .= '<p class="archive"><a href="/archive/">Older News 
Entries</a></p>';
 $content .= "</div>";
 
 $intro = <<<EOF
diff --git a/styles/home.css b/styles/home.css
index 2b815ec..d6ee96c 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -108,4 +108,6 @@ complimentary greens: 9FB553    7B8851    61761B    C6DA82  
  CCDA99
        padding: 10px;
 }
 
-
+p.archive {
+       text-align: right;
+}


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to