MyBB Community Forums

Full Version: Div won't place where intended?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have this div:

[Image: j3j2EgS.png]

.blue_alert {
    background: #115965;
    border: 1px solid #198888;
    color: #DDD;
    font-size: 13px;
    margin-bottom: 15px;
    padding: 10px;
    text-align: left;
    word-wrap: break-word;

<div class="blue_alert"><i class="fa fa-exclamation-circle"></i> <span>Remember to keep posts respectful and to follow the Doom Commandments.</span></div>

Above the Quick Reply box, but for no clear reason it seems to force itself to the top of the showthread instead? It went where intended at some point but it keeps randomly forcing itself to the top of the showthread and I can't understand why?

Any ideas?

At the very least you're missing a closing </table> tag. View that page's source: there's a <table> tag that begins on line 623 but is never closed. Adding that closing tag in the right place might solve your problem.