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
  • Franklin Gomez
    Franklin Gomez
    6,549 Points

    floats

    Posted October 19, 2016 4:35pm by Franklin Gomez
    Franklin Gomez
    6,549 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    0 Answers

  • monikaneudek
    monikaneudek
    2,566 Points

    why workspace shows my media querie RED like it's wrong?

    Posted August 12, 2015 11:13am by monikaneudek
    monikaneudek
    2,566 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    3 Answers

  • Filippo D'Arrigo
    Filippo D'Arrigo
    5,285 Points

    Float clearfix

    Posted June 2, 2015 8:14am by Filippo D'Arrigo
    Filippo D'Arrigo
    5,285 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    1 Answer

  • Jay Valentine
    PLUS
    Jay Valentine
    Courses Plus Student 4,389 Points

    Why is mine different to Guil's?

    Posted May 13, 2015 3:20pm by Jay Valentine
    Jay Valentine
    Courses Plus Student 4,389 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    2 Answers

  • orange sky
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points

    margin-right:0; and margin:initial

    Posted February 19, 2015 1:21pm by orange sky
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    4 Answers

  • Gabriel Ward
    Gabriel Ward
    20,222 Points

    Clearfix

    Posted February 6, 2015 4:50am by Gabriel Ward
    Gabriel Ward
    20,222 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    1 Answer

  • Erin Junge
    Erin Junge
    19,163 Points

    In the Downloads for this video, the "final" files don't match what is shown in the video.

    Posted January 26, 2015 5:03pm by Erin Junge
    Erin Junge
    19,163 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    0 Answers

  • dariorancatore
    dariorancatore
    6,845 Points

    Clearfix vs overflow

    Posted January 14, 2015 5:32pm by dariorancatore
    dariorancatore
    6,845 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    1 Answer

  • Ehsan Raza
    Ehsan Raza
    263 Points

    why we use "content" and why we left it blank? Also what does "after" mean in this video?

    Posted December 28, 2014 12:26am by Ehsan Raza
    Ehsan Raza
    263 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    3 Answers

  • Edward Bryan Kene Morales
    Edward Bryan Kene Morales
    7,374 Points

    What the difference between .group:after and .group::after

    Posted December 25, 2014 9:57pm by Edward Bryan Kene Morales
    Edward Bryan Kene Morales
    7,374 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    1 Answer

  • Jacob Tennyson
    Jacob Tennyson
    6,240 Points

    anchor elements

    Posted December 23, 2014 5:41am by Jacob Tennyson
    Jacob Tennyson
    6,240 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    2 Answers

  • Atlas AKIN
    Atlas AKIN
    1,675 Points

    Understanding Clearfix

    Posted December 6, 2014 10:33pm by Atlas AKIN
    Atlas AKIN
    1,675 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    1 Answer

  • Eric Ridolfi
    Eric Ridolfi
    19,417 Points

    Wrapped Elements

    Posted November 13, 2014 1:33pm by Eric Ridolfi
    Eric Ridolfi
    19,417 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    0 Answers

  • Eugene Trofimov
    PLUS
    Eugene Trofimov
    Courses Plus Student 7,504 Points

    Strange property float: initial

    Posted October 13, 2014 5:08pm by Eugene Trofimov
    Eugene Trofimov
    Courses Plus Student 7,504 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    1 Answer

  • Joey Halderman
    Joey Halderman
    569 Points

    Text centered above image

    Posted October 5, 2014 2:35am by Joey Halderman
    Joey Halderman
    569 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    2 Answers

  • David Service
    David Service
    12,928 Points

    At the 4:00 mark, why does Gill use the "float: initial;" declaration instead of "float: none;" for the media query?

    Posted September 10, 2014 11:57pm by David Service
    David Service
    12,928 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    2 Answers

  • Angela Dimler
    Angela Dimler
    7,969 Points

    In "The Float Clearfix" video, Guil displays the header.group as a table. Why?

    Posted July 23, 2014 5:02pm by Angela Dimler
    Angela Dimler
    7,969 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    4 Answers

  • orange sky
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points

    after pseudo-element

    Posted July 1, 2014 12:50pm by orange sky
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    3 Answers

  • robinbehroozi
    robinbehroozi
    15,912 Points

    The Float Clearfix...

    Posted June 8, 2014 3:11pm by robinbehroozi
    robinbehroozi
    15,912 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    4 Answers

  • Fabrício Montenegro
    Fabrício Montenegro
    18,723 Points

    Explain clearfix

    Posted June 6, 2014 8:42pm by Fabrício Montenegro
    Fabrício Montenegro
    18,723 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    2 Answers

  • Andrew Probert
    Andrew Probert
    1,862 Points

    Clearfix not working for me. What am I missing?

    Posted May 1, 2014 7:31pm by Andrew Probert
    Andrew Probert
    1,862 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    5 Answers

  • pgmd
    pgmd
    6,897 Points

    Clearfix!!!

    Posted March 7, 2014 10:07pm by pgmd
    pgmd
    6,897 Points
    • CSS
    • CSS Layout Techniques
    • Float Layout
    • The Float Clearfix

    2 Answers

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