After a label sets display to block, its internal content cannot expand the width of a label.
风
2021-04-26 16:16:38
0
1
1276

Hello everyone, I am currently learning HTML by myself, and I encountered a problem when writing a page. After setting the display of the a tag to block, the content in the a tag cannot expand the width of the a tag. I checked I have the code and I don’t know where the problem is. I would like to ask some experienced experts for help. I would be very grateful! !

The code is attached below:

code_1.pngcode_3.pngcode_2.png

风

reply all(1)
Peter_Zhu

flex is only valid for child elements

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template