thomashw Posted January 12, 2008 Share Posted January 12, 2008 I have three DIV's. The first two I want to be beside eachother, and the last one I want to be directly below the first two. I use float: left and float: right on the first two DIV's, which works to make them beside eachother, but the third is not being placed below them. It is being placed off to the right. Any ideas? Quote Link to comment Share on other sites More sharing options...
revraz Posted January 12, 2008 Share Posted January 12, 2008 Are you using CSS to position them? Quote Link to comment Share on other sites More sharing options...
thomashw Posted January 12, 2008 Author Share Posted January 12, 2008 Yep. Actually, the only browser that has the problem is Firefox. Quote Link to comment Share on other sites More sharing options...
revraz Posted January 12, 2008 Share Posted January 12, 2008 Post the CSS code for all three div IDs and also post the code for the 3 divs. Quote Link to comment Share on other sites More sharing options...
thomashw Posted January 12, 2008 Author Share Posted January 12, 2008 I know what the problem is now - I'm just not sure how to go about fixing it. A form is wrapping all three DIV's, and when I remove it they line up fine. There are inputs in the top two DIV's. Any ideas why the form is changing the formatting? <form> <div class="leftcheck" </div> <div class="rightcheck"> </div> <div class="check"> </div> </form> .check { border: solid 1px #000000; float: none; } .leftcheck { width: 259px; float: left; border: 1px solid #000000; } .rightcheck { width: 259px; float: right; border: 1px solid #000000; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.