T Taz Seasoned Veteran Joined Mar 1, 2009 Messages 3,652 Reaction score 2 FP$ 1,032 Aug 16, 2014 #1 I need to know how to put a certain two divs on the same line. The code is for something I am working on so could you please pm me if you can help, thanks in advance.
I need to know how to put a certain two divs on the same line. The code is for something I am working on so could you please pm me if you can help, thanks in advance.
O ooFox Familiar Face Joined Jun 22, 2013 Messages 85 Reaction score 0 FP$ 6 Aug 16, 2014 #2 Code: .div1 { float: left; position: absolute; } .div2 { float: right; position: absolute; } <div class="div1"> </div><div class="div2"> </div>
Code: .div1 { float: left; position: absolute; } .div2 { float: right; position: absolute; } <div class="div1"> </div><div class="div2"> </div>
T Taz Seasoned Veteran Joined Mar 1, 2009 Messages 3,652 Reaction score 2 FP$ 1,032 Aug 17, 2014 #3 EDIT: Nevermind, I fixed it. I put "position:absolute;" on the second div and it worked.