html - How do I keep my footer text from appearing outside my footer -
i have problem. text in footer keeps appearing outside footer underneath. how stay inside footer div?here html code footer:
<div id="footer"> <!-- if you'd support wordpress, having "powered by" link somewhere on blog best way; it's our promotion or advertising. --> <p>contact | privacy policy | call 1300 4 u (483 678)</p> <br /> <br /> <br /> <p><?php bloginfo('name'); ?> pty ltd 2000-2014 proudly powered by<a href="http://wordpress.org/">wordpress</a> , designed <a href="http://www.wpart.org/">wpart.</a> rights reserved. stathis arcade 262 maquarie street suite 2-3 | liverpool nsw 2170 <?php wp_footer(); ?></p> </div>
here footer css:
#footer { width: 960px; background-repeat: no-repeat; padding-top: 10px; padding-right:10px; height: 50px; font-family: tahoma, geneva, sans-serif; font-size: 12px; font-weight: normal; color: #002899; padding-left: 10px; text-align: center; position:absolute; overflow: hidden; }
if height fixed, in case 50px
, , if content size more that, overflow. instead of 50px
, try height:auto;
(which believe default, if remove height:50px;
enough).
Comments
Post a Comment