'min-width' 和 'max-width' 可以限定内容宽度 (content width) 的范围。下列算法描述了这两个特性对 'width' 特性的 使用值 产生的影响:
基于16个网页-相关网页
minimum content width 最小内容宽度
All the page width styles center content.
所有页面宽度样式都将内容居中。
Out only complaint here is that while the content is formatted to one column width, you can scroll off to the right for some reason.
唯一只值得抱怨的是,当内容是全屏格式的时候,不知到为什么,你可以向右滚动一部分。
While you're at it, add a new CSS declaration to control the width of the tooltip content so it doesn't end up with a scrollbar.
与此同时,添加一个新 CSS 声明以控制工具提示内容的宽度,从而不需要再用到滚动条。
应用推荐