SimplePortal
Development => Bugs => Fixed or Bogus Bugs => Topic started by: AngelinaBelle on October 28, 2010, 08:57:28 AM
-
It is not always possible to control what has happened on a page just before the bottom blocks are used.
If float-left or float-right were used just before, this can cause undesireable formatting: http://simpleportal.net/index.php?topic=6818.msg38704#msg38704 (http://simpleportal.net/index.php?topic=6818.msg38704#msg38704)
Proposed change:
function template_portal_below()
{
global $context, $modSettings;
echo '
<br />';
function template_portal_below()
{
global $context, $modSettings;
echo '
<br class="clear" />';
-
Don't you mean after bottom blocks?
-
Before bottom blocks.
After whatever-else-is-on-the-page before the bottom blocks begin.
In the case cited, the problem only occurred because the OP took the Info Center out of the template without doing a clear: both after the posting icons/mark read button.
That's why I suggested it as a precaution.
clear: both shouldn't be necessary AFTER bottom blocks, since the <td id="sp_center"> gets closed just after the bottom blocks and before <td id="sp_right"'> begins.