{"id":37,"date":"2006-11-26T21:07:40","date_gmt":"2006-11-26T13:07:40","guid":{"rendered":"http:\/\/jorux.com\/archives\/layout-2-if-you-love-css\/"},"modified":"2006-11-26T21:07:40","modified_gmt":"2006-11-26T13:07:40","slug":"layout-2-if-you-love-css","status":"publish","type":"post","link":"https:\/\/jorux.com\/?p=37","title":{"rendered":"\u5e03\u5c40\u7bc7(2)\u2014If you love css \u2026"},"content":{"rendered":"<p>\u4e0a\u7bc7\u8bb2\u7684\u5e03\u5c40(\u5207\u5272)\u65b9\u6cd5\u76f8\u4fe1\u5927\u5bb6\u5df1\u7ecf\u638c\u63e1\uff0c\u5176\u7279\u70b9\u662f\u7528\u56fa\u5b9a\u5bbd\u5ea6(fixed-width)\u6765\u5b9e\u73b0\u9875\u9762\u5185\u5404\u4e2a\u5143\u7d20\u7684\u663e\u793a\u6548\u679c\uff0c\u7b80\u5355\u5b9e\u7528\uff0c\u6613\u4e8e\u638c\u63e1\u3002\u672c\u7bc7\u5c06\u8bb2\u8ff0\u5176\u4ed6\u76f8\u5bf9\u9ad8\u7ea7\u7684\u5e03\u5c40\u65b9\u6cd5\u3002<br \/>\n<strong>\u5e03\u5c40\u7684\u5206\u7c7b<\/strong>,\u6839\u636e\u5bf9\u5143\u7d20\u5bbd\u5ea6\u7684\u5b9a\u4e49\u4e0d\u540c\uff0c\u5e03\u5c40\u53ef\u5206\u4e3a\u4ee5\u4e0b\u51e0\u79cd\uff1a<br \/>\n<strong>1. \u56fa\u5b9a\u5bbd\u5ea6(fixed-width)\u5e03\u5c40<\/strong>\uff1a<br \/>\n\u5373\u4e0a\u4e00\u7bc7\u6240\u7528\u5230\u7684\u5e03\u5c40\u65b9\u6cd5\uff0c\u5176\u7279\u70b9\u662f\u4e3b\u8981DIV\u7684\u5bbd\u5ea6\u90fd\u662f\u7528\u56fa\u5b9a\u5927\u5c0f\u7684px\u503c\u5b9a\u4e49\u7684\uff0c\u5176\u5bbd\u5ea6\u4e0d\u968f\u6d4f\u89c8\u5668\u53ca\u5b57\u4f53\u5927\u5c0f\u7684\u5f71\u54cd\u3002\u591a\u4ee5px\u4f5c\u4e3a\u5bbd\u5ea6\u5355\u4f4d\u3002<br \/>\n<strong>\u4f18\u70b9<\/strong>\uff1a\u5bbd\u5ea6\u56fa\u5b9a\uff0c\u6700\u4e3a\u4fdd\u771f\u5730\u8868\u73b0\u4f5c\u8005\u7684\u8bbe\u8ba1\u610f\u56fe\uff1b\u7b80\u5355\u6613\u5b66\u3002<br \/>\n<strong>\u7f3a\u70b9<\/strong>\uff1a\u5b83\u662f\u8fd9\u51e0\u79cd\u5e03\u5c40\u65b9\u6cd5\u4e2d\u6700\u4e3a\u201c\u81ea\u79c1\u201d\u7684\uff0c\u56e0\u4e3a\u5176\u4e0d\u8003\u8651\u8bbf\u5ba2\u7684\u6d4f\u89c8\u8bbe\u5907\u53ca\u8bbe\u7f6e\u3002\u6bd4\u65b9\u8bf4\uff0c\u57281024\u5bbd\u7684\u6d4f\u89c8\u5668\u8868\u73b0\u826f\u597d\u7684\u5e03\u5c40\uff0c\u5230\u4e861600\u4ee5\u4e0a\u7684\u5bbd\u5c4f\u6d4f\u89c8\u5668\u5c31\u663e\u5f97\u8f83\u4e3a\u5c40\u9650\uff0c\u5176\u53ef\u80fd\u7f29\u4e8e\u5c4f\u5e55\u4e00\u4fa7\u6216\u662f\u4e2d\u592e\u3002<br \/>\n<strong>\u73b0\u72b6<\/strong>\uff1a\u7531\u4e8e\u5176\u7b80\u5355\u6613\u7528\uff0c\u4e14\u57fa\u672c\u6ee1\u8db3\u5927\u90e8\u5206\u8bbf\u5ba2\u7684\u9700\u6c42\uff0c\u4ecd\u662f\u4e3b\u8981\u7684\u5e03\u5c40\u65b9\u6cd5\uff0c\u5c24\u5176\u5728\u5927\u9646\u3002<br \/>\n<strong>\u8d8b\u52bf<\/strong>\uff1a\u968f\u7740\u6db2\u6676\u5c4f\u5e55\u7684\u53d1\u5c55\u548c\u666e\u53ca\uff0c\u6210\u672c\u7684\u4e0b\u964d\uff0c\u5e02\u9762\u4e0a\u5bbd\u5c4f\u663e\u793a\u5668\u5df2\u7ecf\u5f00\u59cb\u5927\u91cf\u6d8c\u73b0\uff0c\u5c24\u5176\u5728\u897f\u65b9\u53d1\u8fbe\u56fd\u5bb6\uff0c1600\u7684\u5bbd\u5c4f\u663e\u793a\u5668\u6e10\u6210\u4e3b\u6d41\uff0c\u6240\u4ee5\u5728800\u6216\u662f1024\u4e0b\u663e\u793a\u826f\u597d\u7684\uff0c\u4f7f\u7528\u56fa\u5b9a\u5bbd\u5ea6\u7684\u5e03\u5c40\u65b9\u6cd5\u5df2\u7ecf\u5f00\u59cb\u88ab\u8fb9\u7f18\u5316\u3002<br \/>\n<strong>\u7ad9\u70b9\u4e3e\u4f8b<\/strong>\uff1a<a href=\"http:\/\/163.com\">\u7f51\u6613<\/a> <a href=\"http:\/\/www.blueidea.com\/\">\u84dd\u8272\u7406\u60f3<\/a><br \/>\n<strong>2. \u81ea\u9002\u5e94(liquid)\u5e03\u5c40<\/strong>\uff1a<br \/>\n\u5373\u6839\u636e\u7528\u6237\u6d4f\u89c8\u5668\u7684\u5bbd\u5ea6\uff0c\u81ea\u52a8\u8c03\u6574\u5bbd\u5ea6\u663e\u793a\u7684\u5e03\u5c40\u65b9\u6cd5\u3002\u4ee5%\u4f5c\u4e3a\u5bbd\u5ea6\u5355\u4f4d\u3002<br \/>\n<strong>\u4f18\u70b9<\/strong>\uff1a\u81ea\u52a8\u9002\u5e94\u5404\u79cd\u5c4f\u5e55\u5bbd\u5ea6\uff0c\u8f7b\u677e\u5b9e\u73b0\u6ee1\u5c4f\u663e\u793a\u3002<br \/>\n<strong>\u7f3a\u70b9<\/strong>\uff1a\u5982\u679c\u5c4f\u5e55\u8fc7\u5bbd\uff0c\u800c\u5185\u5bb9\u6709\u4e0d\u591a\u7684\u60c5\u51b5\u4e0b\uff0c\u6587\u5b57\u53ef\u80fd\u62c9\u4f38\u5f97\u5f88\u957f\uff0c\u5f71\u54cd\u7f8e\u89c2\u3002\u800c\u5f53\u5c4f\u5e55\u8fc7\u7a84\u65f6\uff0c\u5185\u5bb9\u53c8\u4f1a\u88ab\u538b\u7f29\u5f97\u5f88\u7a84\uff0c\u53ef\u8bfb\u6027\u4e0b\u964d\u3002<br \/>\n<stron\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u7bc7\u8bb2\u7684\u5e03\u5c40(\u5207\u5272)\u65b9\u6cd5\u76f8\u4fe1\u5927\u5bb6\u5df1\u7ecf\u638c\u63e1\uff0c\u5176\u7279\u70b9\u662f\u7528\u56fa\u5b9a\u5bbd\u5ea6(fixed-width)\u6765\u5b9e\u73b0\u9875\u9762\u5185\u5404\u4e2a\u5143\u7d20\u7684\u663e\u793a\u6548\u679c\uff0c\u7b80\u5355\u5b9e\u7528\uff0c\u6613\u4e8e\u638c\u63e1\u3002\u672c\u7bc7\u5c06\u8bb2\u8ff0\u5176\u4ed6\u76f8\u5bf9\u9ad8\u7ea7\u7684\u5e03\u5c40\u65b9\u6cd5\u3002<br \/>\n\u5e03\u5c40\u7684\u5206\u7c7b,\u6839\u636e\u5bf9\u5143\u7d20\u5bbd\u5ea6\u7684\u5b9a\u4e49\u4e0d\u540c\uff0c\u5e03\u5c40\u53ef\u5206\u4e3a\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-web-design"],"_links":{"self":[{"href":"https:\/\/jorux.com\/index.php?rest_route=\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jorux.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jorux.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jorux.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jorux.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":0,"href":"https:\/\/jorux.com\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"https:\/\/jorux.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jorux.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jorux.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}