Commit: ffac291a6455caea13dd298f958deafbf14431c6 Author: Hannes Magnusson <[email protected]> Wed, 4 Dec 2013 17:03:51 -0800 Parents: 20b5e07aba14e0f2919be28c584fa5e3046eee1b Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ffac291a6455caea13dd298f958deafbf14431c6 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
