Jump to content

footer divs are not side by side in IE8 Vista


jasonc

Recommended Posts

divs are not side by side in IE8 Vista but shows ok in IE8 XP and firefox XP.

 

they show one under the other with a 50% gap on the right hand side.

 

what should i change to my code to get them side by side.

 

<div id="footer2010">
<div class="copyright2010">Copyright © 2009-<?=date("Y");?></div>
<div class="copyright2010">disclaimer</div>
<div class="clear"></div>
</div>

 

.copyright2010  { float: left; width: 50%; text-align: center; background-color:#4F4F4F; color: #FFFFFF; font-size:8pt; line-height: 30px; }

.footer2010 { margin:0 auto; }

.clear { height: 0; font-size: 1px; margin: 0; padding: 0; line-height: 0; clear: both; }

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.