com web/php: Clear float after each news so that images doesn't eat up other news: include/layout.inc styles/site.css

From: Date: Tue, 28 Jun 2011 10:50:28 +0000
Subject: com web/php: Clear float after each news so that images doesn't eat up other news: include/layout.inc styles/site.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-23536@lists.php.net to get a copy of this message
Commit: 4e71a125ca6b28abef0c6340fc9d76f8150b6c97 Author: Mehdi Achour <didou@php.net> Tue, 28 Jun 2011 10:50:28 +0000 Parents: 6d4e64226cf4ef9023937d320a727cdd00b3f422 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=4e71a125ca6b28abef0c6340fc9d76f8150b6c97 Log: Clear float after each news so that images doesn't eat up other news Changed paths: M include/layout.inc M styles/site.css Diff: diff --git a/include/layout.inc b/include/layout.inc index b16e21e..3a463f8 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -774,7 +774,7 @@ function print_news($news, $dog, $max = 5, $onlyyear = null, $return = false) { </div> </div> -<hr /> +<hr class="newsSep" /> EOT; } diff --git a/styles/site.css b/styles/site.css index c2b910a..4e9c350 100644 --- a/styles/site.css +++ b/styles/site.css @@ -181,6 +181,10 @@ div.newsItem .newsdate { margin-right: 10px; } +hr.newsSep { + clear: right; +} + div.indent { margin-left: 50px; }

« previous php.webmaster (#23536) next »