CSS Master

(Primo) #1
Figure 4.20. Columns that are 15em wide inside a 45em container with the default column-gap value

Changingcolumn-gapto 0 ,however,givesusourfullthree-columnlayoutasshown
inFigure4.21.Withoutacolumn-gap,there’snowsufficientroomforthreecolumns.


Aswithcolumn-width,thevalueofcolumn-gapshouldbeeither 0 orapositive
lengthvalue.Negativelengthssuchas-2emareinvalid.


Complex Layouts 155

Free download pdf