From: Sarven Capadisli Date: Tue, 7 Apr 2009 23:45:22 +0000 (+0000) Subject: HTML br is not needed. Using 'clear' in CSS instead. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a839daad2ecbf8430f518e8690cc509885973e82;p=quix0rs-gnu-social.git HTML br is not needed. Using 'clear' in CSS instead. --- diff --git a/actions/showstream.php b/actions/showstream.php index cb40d1302d..4181a2bab9 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -345,7 +345,6 @@ class ShowstreamAction extends ProfileAction $message .= sprintf(_('Why not [register an account](%%%%action.register%%%%) and then nudge %s or post a notice to his or her attention.'), $this->user->nickname); } - $this->element('br', array('clear' => 'both')); $this->elementStart('div', 'guide'); $this->raw(common_markup_to_html($message)); $this->elementEnd('div'); diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 6c3c7e9127..dfac7712a4 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1156,3 +1156,6 @@ margin-bottom:18px; .help dt { display:none; } +.guide { +clear:both; +}