开发者

show just what can a div hold

开发者 https://www.devze.com 2023-02-20 04:03 出处:网络
Hi all readers of my post, How to limit the size of a div that it cannot hold more content, if content is big then it\'ll be disappear, show just开发者_StackOverflow社区 what can a div hold, right?

Hi all readers of my post,

How to limit the size of a div that it cannot hold more content, if content is big then it'll be disappear, show just开发者_StackOverflow社区 what can a div hold, right?

Thanks 4 u all.


Specify the width and height that you want, and then use the css property

overflow: hidden

to hide the rest.

0

精彩评论

暂无评论...
验证码 换一张
取 消