Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Float help! :D

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #238142
    fluerypt
    Participant

    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”

    #238143
    fluerypt
    Participant

    I fixed it! How do i mark this as solved. Sorry first post XD.

    #238145
    Atelierbram
    Participant

    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

    #238146
    fluerypt
    Participant

    I usually do use classes, but sometimes i’m too lazy. It’s only for a class project. Thanks for your time though!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.