Through the analysis of the new MSN website, I learned a bit more about the small tricks of div+css standardization. Analyzing the div and css writing methods of portal websites is a great way to learn front-end development. I recommend that fellow professionals take some time to analyze these as well; you'll discover many new ideas.
1. For left-right alignment of divs, besides using the float method, you can define the width and then use absolute positioning, followed by aligning it according to the parent div (refer to the header of the new MSN site).
2. In portal website navigation, in CSS, you can divide the navigation into blocks, with each block being an li, and the links inside the block placed within a p. The entire navigation is structured as a ul (this is how the new MSN homepage is built).
3. For a row of numbered items, you can create this row of numbers as a single image and place it in the background of the parent element. This way, when extracting data, the data will be very standardized.
Alright, let's all study hard together!!