<section className="similar-news" />
Here's a cross-browser method that works in IE6+
It combines text-align-last: justify; which is supported by IE and a variation of the :after pseudo-content method. It includes a fix to remove extra space added after one line text elements.
CSS:p, h1{ text-align: justify; text-align-last: justify; } p:after, h1:after{ content: ""; display: inline-block; width: 100%; }
If you have one line of text, use this to prevent the blank line the above CSS will causeh1{ text-align: justify; text-align-last: justify; height: 1em; line-height: 1; } h1:after{ content: ""; display: inline-block; width: 100%; }
Я у себя вообще такое понятие как контроллер не использую. Его ответственность так узка при толстой модели, что легче вынести часть во вьюшку, а часть в модель.