Google chrome: how to display full text when the mouse hovers over a table cell


Expected behavior



I have a table on my web page. In some table cells, it has long text and I set these css for td label. When the text is longer than the table cell's width, it will be hidden.



I want when the mouse hovers over these table cells, the full text appears.



Current behavior



For safari, when the mouse hovers over the table cell who has long text, the full text appears.
enter image description here



For google chrome, there is no reaction when the mouse hovers over it.
enter image description hereQuestion



How google chrome can display the full text like safari? Any suggestions or ideas will be welcomed.



You could use title attribute: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title








By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

芜湖市第十一中学

曲波 (足球运动员)

巴尔喀什湖