-2

I use overflow:hidden; but it is not stretch...=(

This is an example: http://jsfiddle.net/9NNYN/

  • 1
    Your jsfiddle shows the parent `div` stretched all the way across the screen in FF. You need to describe your problem better... – kitti Mar 13 '12 at 20:48
  • Giving them a percentage width helps, however you will never be able to get it exact with a border and/or 6 elements; 100 doesn't divide by 6 with no remainder. – Bojangles Mar 13 '12 at 20:48

1 Answers1

0

I don't think overflow:hidden does what you think it does. :) If you want to make the parent width equal to the child width, check out this answer.

Community
  • 1
  • 1
Elliot Bonneville
  • 51,872
  • 23
  • 96
  • 123