This time I will bring you how to solve the gaps in thepictures in H5. What are theprecautionsto solve the gaps in the H5 pictures? The following is a practical case, let’s take a look. one time.
Recently working on an h5 project, I encountered a problem that I couldn’t figure out. There was a gap of about 3px between several Later, Baidu checked it Now, I roughly understand the reason. It is because the browser treats the elements as words, and the gaps are reserved for some letters that still grow a bit after aligning them (such as j, g). I have also found several solutions, which are feasible for personal testing. 1, set thefont-sizeof the body to 0;
How to use video and audio tags and progress bars in H5
New interaction between H5 and C3 What are the features
The above is the detailed content of How to solve the gaps in pictures in H5. For more information, please follow other related articles on the PHP Chinese website!
What are the production methods of html5 animation production?
The difference between HTML and HTML5
How to share a printer between two computers
How to use ucsc database
The difference between bond0 and bond1
How to get data in html
There is an extra blank page in Word and I cannot delete it.
The difference between JD.com's self-operated flagship store and its official flagship store