Felix
Felix

Reputation: 1583

Removing copyright tag from the footer

When I remove

<div id="footer">
    <?php echo date("Y"); echo " "; bloginfo('name'); ?>
</div>

from the footer on this page the webpage starts to display things weird. The background color for example disappears. Why is that?

Upvotes: 1

Views: 256

Answers (1)

PeeHaa
PeeHaa

Reputation: 72729

Set #main is CSS to overflow:hidden or overflow: auto;.

This is because .post has float: left;. Everything that floats isn't in the flow of the document anymore. Hence the #main doesn't know the height of the elements in it.

Upvotes: 3

Related Questions