Centred with auto margins and no width: as wide as its content.

NameA longer description of the item
SizeSmall

margin-left: auto alone: as wide as its content, against the right margin.

Total42

Auto margins with a width and a height of its own: both are kept.

OneTwo
ThreeFour

No auto margin: the table fills the line.

Fullwidth