Forums

CSS

This topic is locked

XHTML/CSS Float issues in internet explorer.?

Posted 13 May 2010 11:19:31
1
has voted
13 May 2010 11:19:31 ash smith posted:
XHTML/CSS Float issues in internet explorer.?
I'm coding something in tableless xhtml/css and I'm having some issues with the float attributes.
I want two columns, so I have one div on float: left, and another on float: right. It looks perfectly fine in firefox, something like below...
| content | content |
| | |
But in internet explorer, it looks like....
| content | |
| | content |

any ideas on how to fix the IE bug?

Replies

Replied 03 Jun 2010 17:14:01
03 Jun 2010 17:14:01 Arnold Wotherspoon replied:
Try floating both to the left, giving the right column a left margin equal to the width of the left column.

Reply to this topic