同意,但是,最好设置最大宽度(当然是ems) 以防止线路过长的文字。 35em的段落通常是 最好的。多列布局会更宽。 px永远不是页面宽度的好单位,除非内容全部是 图形,这可能会引发另一批问题。 - Berg Agreed, however, it can be good to set a max-width (in ems, of course)to prevent overly long lines of text. 35em for paragraphs is usually agood max. A multi-column layout would be wider. px is never a good unit for page width unless the content is allgraphics, which probably raises another batch of issues. --Berg 这篇关于您的所有网站CSS宽度属性设置为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
11-03 15:34