Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Elena Paraschiv
    Elena Paraschiv
    9,938 Points

    float if there is another image above?please help

    Posted March 1, 2016 2:35pm by Elena Paraschiv
    Elena Paraschiv
    9,938 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • Leumas Erasa
    Leumas Erasa
    974 Points

    Why add another element with clear property applied to stop parent collapse?

    Posted August 25, 2015 7:52pm by Leumas Erasa
    Leumas Erasa
    974 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • Cameron Monzon
    Cameron Monzon
    7,115 Points

    Why use floats?

    Posted February 5, 2015 12:16am by Cameron Monzon
    Cameron Monzon
    7,115 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • melissa brown
    melissa brown
    4,670 Points

    padding vs margins

    Posted February 2, 2015 3:55am by melissa brown
    melissa brown
    4,670 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    2 Answers

  • hoppy bouasavanh
    PLUS
    hoppy bouasavanh
    Courses Plus Student 1,791 Points

    What is the property " *zoom = 1; " ?

    Posted January 26, 2015 5:53pm by hoppy bouasavanh
    hoppy bouasavanh
    Courses Plus Student 1,791 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    2 Answers

  • Antoine Boillot
    Antoine Boillot
    10,466 Points

    CSS : float vs [padding, margin, border...] ?

    Posted November 7, 2014 9:45am by Antoine Boillot
    Antoine Boillot
    10,466 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    3 Answers

  • stevencooper
    stevencooper
    5,755 Points

    Is there a mistake here? concerning "clear:both" declaration.

    Posted October 1, 2014 12:26am by stevencooper
    stevencooper
    5,755 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    3 Answers

  • Gurdeep Singh
    Gurdeep Singh
    2,438 Points

    doubts about float

    Posted September 18, 2014 6:17pm by Gurdeep Singh
    Gurdeep Singh
    2,438 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    2 Answers

  • Juan Luna
    Juan Luna
    11,483 Points

    Question about Float and Clear property.

    Posted July 23, 2014 3:10am by Juan Luna
    Juan Luna
    11,483 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    3 Answers

  • Bilal Junaidy
    Bilal Junaidy
    1,775 Points

    help

    Posted July 15, 2014 8:07pm by Bilal Junaidy
    Bilal Junaidy
    1,775 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • Erick Roque
    Erick Roque
    6,418 Points

    Something I'm not understanding in the Floats video.

    Posted July 5, 2014 6:10pm by Erick Roque
    Erick Roque
    6,418 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    2 Answers

  • Zach Saul
    Zach Saul
    11,156 Points

    Confused about floats, and clears.

    Posted July 1, 2014 3:53am by Zach Saul
    Zach Saul
    11,156 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    2 Answers

  • Paul Barron
    Paul Barron
    6,595 Points

    Divs next to each other.

    Posted June 27, 2014 8:51pm by Paul Barron
    Paul Barron
    6,595 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    2 Answers

  • Brad Woods
    Brad Woods
    13,772 Points

    float vs. inline-block

    Posted June 2, 2014 5:22am by Brad Woods
    Brad Woods
    13,772 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • David Bilson
    David Bilson
    13,819 Points

    Floating image and content vs floating image and setting a margin on the content.

    Posted April 19, 2014 10:47pm by David Bilson
    David Bilson
    13,819 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • Rory Matthews
    Rory Matthews
    2,287 Points

    Answer found.

    Posted April 15, 2014 3:36pm by Rory Matthews
    Rory Matthews
    2,287 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • Daniel Kaszuba
    Daniel Kaszuba
    2,738 Points

    Problems restoring the floats

    Posted April 7, 2014 12:38pm by Daniel Kaszuba
    Daniel Kaszuba
    2,738 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    8 Answers

  • harsha praneeth
    harsha praneeth
    5,449 Points

    Dynamic

    Posted March 29, 2014 6:28pm by harsha praneeth
    harsha praneeth
    5,449 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

  • Ivan Burda
    Ivan Burda
    10,897 Points

    The video navigation bar - proposal

    Posted March 1, 2014 12:00am by Ivan Burda
    Ivan Burda
    10,897 Points
    • CSS
    • CSS Foundations
    • The Box Model
    • Floats

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord