1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

CSS: Solving CSS Float’s Problem

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    5.00/5

CSS » Tips and Tricks — over 4 years ago
As a web designer, we always see a problem happened when a floated element is within a container div, the floated element doesn’t automatically increase the height of the container. The main reason causing this problem is the container doesn’t contains the floated element anymore, when the element is floated. Here is a technique to address the problem of CSS float.

Comments

Your Comment

You must be logged in to post a comment.