Tuesday, June 26, 2012

CSS - Float right causes line break in IE

The joy of Internet Explorer: if you have a float:right it causes the element to break line which is ultimately causes a mess in a design. The solution is quite simple though: order the not floated element before the floated one even though it doesn't look logical at first sight (and frankly, the second, lol)

Cheers!

No comments:

Post a Comment