This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » CSS » XHTML/CSS Float issues in internet explorer.?
Reply

XHTML/CSS Float issues in internet explorer.?

ash smith
Member



Since: 13 May 2010
Posts: 1
Posted 13 May 2010 11:19:31

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?

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?
Arnold Wotherspoon
Member



Since: 11 Feb 2010
Posts: 2
Replied 03 Jun 2010 17:14:01
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

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency