{"id":1139,"date":"2014-06-25T09:41:04","date_gmt":"2014-06-25T00:41:04","guid":{"rendered":"http:\/\/mn-prof.bloggle.jp\/portfolio_sample\/?p=1131"},"modified":"2014-06-25T09:41:04","modified_gmt":"2014-06-25T00:41:04","slug":"margin-padding-float_css","status":"publish","type":"post","link":"https:\/\/mn-design.tokyo\/?p=1139","title":{"rendered":"margin padding float\u3000\u30ea\u30bb\u30c3\u30c8CSS\u306b\u3064\u3044\u3066"},"content":{"rendered":"<h2>padding\u3000margin\u306e\u7406\u89e3\u306e\u305f\u3081\u306e\u53c2\u8003<\/h2>\n<p>\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u899a\u3048\u308b\u3068\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>padding\u3000\u81ea\u5206\u304c\u592a\u308b<\/p>\n<p>margin\u3000\u307e\u308f\u308a\u306b\u3075\u304f\u3089\u3080<\/p>\n<h2>float\u306b\u3064\u3044\u3066<\/h2>\n<p>float\u3059\u308b\u3068\u89aa\u8981\u7d20\u304c\u6d88\u3048\u308b<br \/>\n\u89aa\u8981\u7d20\u306b\u9ad8\u3055\u3092\u6301\u305f\u305b\u308b\u3068\u89aa\u8981\u7d20\u304c\u51fa\u308b<br \/>\noverflow:hidden\u3092\u4f7f\u3046\u3002<br \/>\noverflow\u306f\u4e2d\u306e\u5b50\u8981\u7d20\u3092\u8a8d\u8b58\u3057\u306a\u3044\u3068\u30b9\u30af\u30ed\u30fc\u30eb\u8868\u793a\u304c\u306f\u307f\u51fa\u3057\u3066\u3057\u307e\u3046\u304b\u3089\u3001\u305d\u306e\u6a5f\u80fd\u3092\u5229\u7528<\/p>\n<p>\u7591\u4f3c\u30af\u30e9\u30b9\u3000after\u3092\u4f7f\u7528\u2192clearfix\u3092\u4f7f\u7528\u3002<\/p>\n<p>clearfix\u516c\u5f0f\u30b5\u30a4\u30c8<\/p>\n<p><a href=\"http:\/\/csscreator.com\/attributes\/containedfloat.php\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/csscreator.com\/attributes\/containedfloat.php<\/a><\/p>\n<p>inline\u3000\u306f\u9ad8\u3055\u304c\u306a\u304f\u306a\u308b\u306e\u3067\u3001\u80cc\u666f\u753b\u50cf\u306a\u3069\u3092\u5165\u308c\u308b\u5834\u5408\u306f\u3000inline-box\u6307\u5b9a\u3092\u3059\u308b\u3002<\/p>\n<p>\u8a73\u7d30\u306f\u3053\u3061\u3089\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"http:\/\/taneppa.net\/float\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/taneppa.net\/float\/<\/a><\/p>\n<h2>position\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u306e\u7a2e\u985e\u3001\u610f\u5473<\/h2>\n<dl>\n<dt>static<\/dt>\n<dd>\u7279\u306b\u914d\u7f6e\u65b9\u6cd5\u3092\u6307\u5b9a\u3057\u307e\u305b\u3093\u3002\u3053\u306e\u5024\u306e\u3068\u304d\u306b\u306f\u3001top\u3001bottom\u3001left\u3001right\u306f\u9069\u7528\u3055\u308c\u305a\u3001\u521d\u671f\u5024\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002\uff08\u500b\u4eba\u7684\u306b\u4f7f\u308f\u306a\u3044\u3067\u3059\uff09<\/dd>\n<dt>absolute<\/dt>\n<dd>\u7d76\u5bfe\u4f4d\u7f6e\u3078\u306e\u914d\u7f6e\u3068\u306a\u308a\u307e\u3059\u3002\u89aa\u30dc\u30c3\u30af\u30b9\u306bposition\u30d7\u30ed\u30d1\u30c6\u30a3\u306estatic\u4ee5\u5916\u306e\u5024\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u3001\u89aa\u30dc\u30c3\u30af\u30b9\u306e\u5de6\u4e0a\u304c\u57fa\u6e96\u4f4d\u7f6e\u3068\u306a\u308a\u307e\u3059\u3002\u89aa\u30dc\u30c3\u30af\u30b9\u306bposition\u30d7\u30ed\u30d1\u30c6\u30a3\u306estatic\u4ee5\u5916\u306e\u5024\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u306f\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u5168\u4f53\u306e\u5de6\u4e0a\u304c\u57fa\u6e96\u4f4d\u7f6e\u3068\u306a\u308a\u307e\u3059\u3002\uff08\u500b\u4eba\u7684\u306b\u5358\u72ec\u3067\u4f7f\u3046\u4e8b\u306f\u307b\u307c\u306a\u3044\u3067\u3059\uff09<\/dd>\n<dt>relative<\/dt>\n<dd>\u76f8\u5bfe\u4f4d\u7f6e\u3078\u306e\u914d\u7f6e\u3068\u306a\u308a\u307e\u3059\u3002position\u30d7\u30ed\u30d1\u30c6\u30a3\u3067static\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306b\u8868\u793a\u3055\u308c\u308b\u4f4d\u7f6e\u304c\u57fa\u6e96\u4f4d\u7f6e\u3068\u306a\u308a\u3001top\u3001bottom\u3001left\u3001right\u306f\u9069\u7528\u3055\u308c\u307e\u3059\u3002\uff08\u500b\u4eba\u7684\u306b\u5358\u72ec\u3067\u306f\u4f7f\u308f\u306a\u3044\u3067\u3059\uff09<\/dd>\n<dt>fixed<\/dt>\n<dd>\u7d76\u5bfe\u4f4d\u7f6e\u3078\u306e\u914d\u7f6e\u3068\u306a\u308b\u306e\u306fabsolute\u3068\u540c\u3058\u3067\u3059\u304c\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3082\u4f4d\u7f6e\u304c\u56fa\u5b9a\u3055\u308c\u305f\u307e\u307e\u3068\u306a\u308a\u307e\u3059\u3002\uff08IE6\u306f\u5bfe\u5fdc\u51fa\u6765\u3066\u3044\u307e\u305b\u3093\uff09<\/dd>\n<\/dl>\n<p>\u8a73\u7d30\u306f\u4e0b\u8a18\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"http:\/\/www.css-lecture.com\/log\/css\/037.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.css-lecture.com\/log\/css\/037.html<\/a><\/p>\n<p>\u30ea\u30bb\u30c3\u30c8CSS\u3092\u4f7f\u3046\u5834\u5408\u3001<br \/>\n<a href=\"http:\/\/yuilibrary.com\/yui\/docs\/cssreset\/\" target=\"_blank\" rel=\"noopener noreferrer\">YUI\u30ea\u30bb\u30c3\u30c8CSS<\/a>\u3000<a href=\"http:\/\/meyerweb.com\/eric\/tools\/css\/reset\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30a8\u30ea\u30c3\u30af\u30e1\u30a4\u30e4\u30fc<\/a>\u306a\u3069\u3092\u4f7f\u3046\u306e\u304c\u6700\u8fd1\u306e\u4e3b\u6d41\u3002<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u305d\u308c\u305e\u308c\u306e\u6301\u3064\u72ec\u81ea\u306eCSS\u3092\u30ea\u30bb\u30c3\u30c8\u3057\u3001\u81ea\u5206\u304c\u4f5c\u3063\u305f\u901a\u308a\u306e\u8868\u73fe\u3092\u3059\u308b\u305f\u3081\u30ea\u30bb\u30c3\u30c8CSS\u306f\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>CSS\u30b3\u30fc\u30c9\u306e\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc\u78ba\u8a8d\u306f\u4ee5\u4e0b\u3067\u884c\u3044\u3001PC\u3001\u30b9\u30de\u30db\u3068\u3082\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30d6\u30e9\u30a6\u30b6\u3092\u78ba\u8a8d\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3010Can I use\u3011<\/p>\n<p><a href=\"http:\/\/caniuse.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/caniuse.com\/<\/a><\/p>\n<p>W3C\u3000\u3067\u6700\u65b0\u60c5\u5831\u3092\u5e38\u306b\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"http:\/\/momdo.github.io\/html5\/Overview.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/momdo.github.io\/html5\/Overview.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>padding\u3000margin\u306e\u7406\u89e3\u306e\u305f\u3081\u306e\u53c2\u8003 \u30a4<span class=\"more-button\"><a href=\"https:\/\/mn-design.tokyo\/?p=1139\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">margin padding float\u3000\u30ea\u30bb\u30c3\u30c8CSS\u306b\u3064\u3044\u3066<\/span><\/a><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1139","post","type-post","status-publish","format-standard","hentry","category-html-css"],"_links":{"self":[{"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/1139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1139"}],"version-history":[{"count":0,"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/1139\/revisions"}],"wp:attachment":[{"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mn-design.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}