CSS IE6 float right
- by David
How come when I have a div style at display: block; float: right, in IE6 the div still goes under the text, and not in the middle of it just floated to the right. It works in all other browsers, including IE7+. I need to have display block because if i do display inline, then the menu inside the div is all messed up.
.content {
display: block;
}
.float {
width: 150px;
display: block;
float: right;
}
.nothing {
display: inline;
}
the float class is not to the right of nothing class, its under it in IE6, know a fix?