I have two sibling divs: #label and #value. I want #value div to be aligned to the right side of parent's div. I set float:right
. But in IE7 #value div is displayed under #label div, not on the same line. One solution I know is to switch the order of #label and #value divs in HTML, but it is quite counterintuitive looking.
Is there any other ways to accomplish this task?
P.S. Please do not tell me 'stop supporting IE7'. I have visitors who still use IE7 and do not see any serious reason why I have to drop them from my website.