Home > front end >  Div align left a certain interval and the average orderly arrangement
Div align left a certain interval and the average orderly arrangement

Time:10-06

CodePudding user response:

An example of a simple div layout
Note: use the style here is apart from the style, the outside margin - left: 50 px refers to the left margin 50 pixels
Need to control the left margin two picture
If you don't use div, you may need to set margins for each image
After using the div, the two images are first put in a div
Only need to set the margins of the div, can achieve the result of two pictures are moving

CodePudding user response:

 & lt; Div style="margin - left: 100 px" & gt; 

CodePudding user response:

Suggest you refer to this place to learn and ascension are of great help to you: https://how2j.cn/k/html/html-div-span/189.html? P=36286
  • Related