Forums

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

Home Forums CSS Wont float.. and i thought I had this ;(

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43133
    mikeman
    Member

    I thought I had floating down, it one day hit me and thought oh great and right now I’m doing something that was supposed to take 10 minutes to finish and the simplest thing is not working…

    http://codepen.io/anon/pen/taGcB

    i need 1sthalf and 2ndhalf to be side by side within the slider div…

    any thoughts, what am i missing?

    #126881
    Paulie_D
    Member

    You have to float both sides…

    Oh and you can’t start classes with a number (AFAIK).

    http://codepen.io/Paulie-D/pen/vjIKd

    #126883
    mikeman
    Member

    ugh redonkulous!

    Thank you Paulie was not aware of the no number thingy, i tried floating both didnt work, but that must be where the Numbering came in.

    Thanks again!

    #126884
    Paulie_D
    Member

    I did have to re-input the width of the wraping div as it didn’t seem to take effect.

    Perhaps there was a typo?

    Yeah…there it is…”**with:960px”**.

    #126894
    wolfcry911
    Participant

    you don’t _need_ to float the second, but if you don’t you can’t restrict it’s width to that of the first (unless you give it a left margin) and expect it to be next to the float.

    #126903
    Paulie_D
    Member

    >you don’t need to float the second

    True…it’s just automatic with me.

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