简体   繁体   中英

Text auto refreshing in google chrome (rendering issue)

Look carefully below two images, the Q letter(g and y also has this issue), some period of time (5 or 6 seconds) in Google chrome render the text something like to image 01 even though original text is image 02 other web browsers are render the correct form of text which is image 02 , but chrome some period of time suddenly shows the image 01 and change back to image 02 , I just put this text in <span> tag, I would like to know how to fix this.

image 01 在此处输入图片说明

image02 在此处输入图片说明

Without seeing your code it is hard to diagnose the problem, but it looks as if the characters might be getting chopped off at a horizontal line - Q, g and y are all characters that extend further down than most. The last time I had this type of issue I had a fixed height for my div in CSS, and the content was too big to fit inside it. Changing the height of my div so that it was bigger than the content meant that Chrome wasn't rearranging my document to make everything display properly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM