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; }

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.