Home > Net >  Confusion about auto margins with absolute positioning
Confusion about auto margins with absolute positioning

Time:05-10

enter image description here

We set 0 for margin for the other cases. If you continue reading the Spec you can find:

Otherwise, set auto values for margin-left and margin-right to 0, and pick one of the following six rules that apply.

  • Related