Get a free trial // Grow your CSS skills // Land your dream job

Float Problem…

  • # November 16, 2011 at 8:04 pm


    i got some boxes with a animation. You’ll notice the last one of the line causes a rukus..

    well these boxes will be contained in a flexible container so using a fixed width and using a clear on last item of row is not gonna solve this problem…

    check it out:

    any suggestions or ideas would be the super awesome.

    # November 16, 2011 at 8:19 pm

    Use positioning instead of margins, see here:

    Margin affects the surrounding elements where positioning does not.

    # November 16, 2011 at 11:25 pm

    i love you. thanks.

    # November 16, 2011 at 11:34 pm

    We hardly know each other! And no worries.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed