Search code examples
csscss-tables

CSS table equally-spaced columns


I'd like this to have equally-spaced columns. In an older version, it worked, but I couldn't yet figure out what's the difference. If I copy the older HTML in a jsfiddle and apply the same CSS, it doesn't work either, so there's something missing I assume.


Solution

  • The Html and Css code are fine (just include the width 100% in the table).

    The problem is the size of the images, if the images are larger than the width that the cell must have the other cells shrink.

    Check this sample: http://jsfiddle.net/FJ6wX/3/