Home >Web Front-end >CSS Tutorial >Image control examples of css Hspace and vspace_Experience exchange
You can use this attribute when you feel that the image is too close to the text.
Image and text spacing: Hspace and Vspace settings
1. Horizontal spacing: HSPACE.
For example: (The unit is also calculated in pixels.)
2. Vertical spacing: VSPACE.
The usage method is the same as HSPACE, so there is no further introduction here.
For example: (The horizontal distance from the text is usually set a little bit to avoid being too close to the text.)
Of course you can also change the left and right and up and down Use intervals together.