PDA

View Full Version : Major Problem with #footer p.copyright in IE7



nickHiebert
Jul 21st, 2010, 09:38 PM
Hi,

Here is the site: http://bit.ly/dnzFFe (Just used bit.ly)

I want to have all the text on one line going across like you see in Firefox.

I can't seem to get it to display properly in IE7. (IE6 I will do later.)

I'm using IETester.

The current code.

CSS:



<!--[if IE 7]>
<style type="text/css">

#footer p.copyright { margin: 0 -50px 0 850px; padding: 0; text-align: right; }

</style>
<![endif]-->


Also in the css file styles.css:



#footer p.copyright {
text-align: right;
margin: 10px 20px 5px 600px;
padding: 0;
color: #8cc63f;
}


I've tried for a few hours and I'm getting close but can't seem to get to the finish line.

Please Help.

abduraooft
Jul 22nd, 2010, 10:10 AM
You don't need a separate style for any version of IE to align the things in your footer.

All that you'd need is , put that copyright before that <ul> and apply a float:right; to it.
And if that image inside your footer (http://missnancymusic.com/images/footer-logo.jpg) is used for styling, then it should be applied as a background instead of an <img> tag.

nickHiebert
Jul 22nd, 2010, 05:53 PM
Thanks that worked. I just have to apply that to IE6 now.