Home >Web Front-end >HTML Tutorial >How not to show the div beyond the hidden part_html/css_WEB-ITnose

How not to show the div beyond the hidden part_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:23:091313browse

This post was last edited by qianzhuandiyiji on 2012-08-19 15:33:49

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:






dsfdsfffsdfsfdfsfssssssssssssssssssssaaaaaaaaaaaaaak Chinese characters cannot be used here




& lt;/html>

Reply to the discussion (solution)

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;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn