jsldnppl
jsldnppl

Reputation: 913

CSS Container Width

If you do the math, the container is 946px / 5 (columns) = 189.2px. I don't see how they have managed to fit five columns in without extra space left over? Can be viewed here (1200px view).

Container

Coulmn

Upvotes: 0

Views: 58

Answers (2)

sideroxylon
sideroxylon

Reputation: 4416

This is the layout:

screen shot

1px left border. This is the CSS:

border-width: 1px 0 0 1px;

Upvotes: 1

Rudi
Rudi

Reputation: 2995

Their wrapper element, ul.products actually only has a width of 945px, plus 1px border left (and top). That's why their five columns with each a width of 189px add up with no space.

Upvotes: 3

Related Questions