How to solve the problem that the excess content will be displayed when dragging the mouse with the mouse, that is, drag the mouse to the right If you move it, the content beyond the right part that was originally hidden will be displayed, but I don't want it to come out. This problem seems to only occur in Google browser. How to solve this problem? The code is as follows:
I don’t understand what you want to ask. I am testing your code. The excess part will not be displayed when the mouse is dragged
Later I found that this problem only occurs in Google browser. IE and FF have no problem. I want to know how to make it the same as IE and FF in Google
Enable text wrapping style
overflow:hidden; white-space: nowrap; text-overflow: ellipsis;