使元素的宽度由内容撑开的方法 元素的宽度由内容撑开方法: display:inline; display:inline-block; float:left; float:right; position:absolute; position:fixed;