Click to See Complete Forum and Search --> : Footer text alignment issue...


invision
08-10-2008, 03:05 PM
Hello,

Was wondering if some kind soul could spare the time to help a confused youngin :)

I have a footer: http://www.farawaytrains.co.uk/footer.htm (which has the CSS and HTML code in the one page).

And in all the great browsers, it looks good, but in IE6, the text is a bit dodgy.

The right hand side with email and phone number should be as you see it in FF, but in IE6 it seems to throw it 50px to the left?!??! Can anyone explain why this is?

I have CSS in the file as well as a <div style="float:right;margin-top:80px;margin-right:92px"> bit to store the text.


Many thanks for any help you can give, very much appreciated.

Centauri
08-10-2008, 04:38 PM
IE6's doubled float margin bug. Whenever you float something against the edge of a container and also have a margin in that direction, IE6 will double that margin - cure is to also add display:inline; to the float.

invision
08-10-2008, 04:56 PM
Once again you've come up major trumps Centauri!
Thanks for your help and explanation!