CSS help!
CSS help!
Out of context: Reply #11
- Started
- Last post
- 21 Responses
- jasonistaken0
Yes. In IE 6, if a block is floated in one direction, it will double its margin in that particular direction. As mentioned before, just add display:inline to any floated element with a margin... All other browsers ignore it, because floated elements are inherently display block.
- That sounds dirty. Are you sure it won't mess up the float in standard compliant browsers?doctor
- As I said... It doesn't.
Floats ARE blocks. ALWAYS. But for some reason, it makes IE 6 play nicejasonistaken