Parent box does not show the correct child box (incomplete)

I. Description of the problem

In the page display module, when the need to give the child a box when about margins set, there may be a good parent box can not accommodate children of the box, as follows:
Here Insert Picture Description

Second, the problem analysis

The fifth child count its right margins, line width in the sub-elements of the box than the parent, so the fifth sub-elements resulting in wrap.

Third, the solution

Since margins are not visible in the visual presentation, it may be the width of the parent box increases, the amount of the fifth sub-elements out of the plurality right margins, so as to ensure line can accommodate five sub-box

Fourth, there is a problem (guess)

Applies to: Parent box style (background color) consistent with the style on stage

If demand exists: Parent box and then on a style different from the present, the parent will result in inconsistent with the width of the box up and down, so that the page uncoordinated

Published 11 original articles · won praise 0 · Views 452

Guess you like

Origin blog.csdn.net/qq_36323561/article/details/104947596