The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Float help! :D
This is probably a stupid question but, I just wanted the Login Form to be floating on the left and the Register Form on the right.
Code below :), Thanks in advanced!
“http://codepen.io/anon/pen/obOOvq”
I fixed it! How do i mark this as solved. Sorry first post XD.
Nice this is fixed, however, I would like to recommend a more modular approach, like OOCSS
<div class="mod"> <div class="inner"> <div class="hd">head</div> <div class="bd">body</div> <div class="ft">foot</div> </div> </div>
Separate things out in classes, don’t set widths on inner elements and so on. Scales better that way, is sturdier. More in this vein in a fork of your demo
I usually do use classes, but sometimes i’m too lazy. It’s only for a class project. Thanks for your time though!