{"id":81,"date":"2014-09-22T01:31:29","date_gmt":"2014-09-21T16:31:29","guid":{"rendered":"http:\/\/kiso2.info\/?p=81"},"modified":"2014-09-22T16:51:40","modified_gmt":"2014-09-22T07:51:40","slug":"css%e3%83%ac%e3%82%a4%e3%82%a2%e3%82%a6%e3%83%88","status":"publish","type":"post","link":"https:\/\/kiso2.info\/?p=81","title":{"rendered":"CSS\u30ec\u30a4\u30a2\u30a6\u30c8"},"content":{"rendered":"<p>CSS\u3067\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306f\u5927\u304d\u304f\u5206\u3051\u3066\uff0cfloat\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3068posiiton\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u306e2\u7a2e\u304c\u3042\u308b\uff0e\u4ee5\u4e0b\u30b5\u30f3\u30d7\u30eb\u3092\u901a\u3057\u3066\uff0c\u4f7f\u7528\u306e\u4ed5\u65b9\u3092\u89e3\u8aac\u3059\u308b\uff0e<\/p>\n<p><strong>\uff3bfloat\u3092\u4f7f\u7528\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\uff3d<\/strong><br \/>\nfloat\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\uff0c\u6307\u5b9a\u3055\u308c\u305f\u8981\u7d20\u3092\u5de6\u307e\u305f\u306f\u53f3\u306b\u5bc4\u305b\u3066\u914d\u7f6e\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u307e\u3059\uff0e \u5f8c\u306b\u7d9a\u304f\u5185\u5bb9\u306f\uff0c\u305d\u306e\u53cd\u5bfe\u5074\u306b\u56de\u308a\u8fbc\u307f\u307e\u3059\uff0e<br \/>\n\u2500<br \/>\n\u30d7\u30ed\u30d1\u30c6\u30a3<br \/>\n<strong>left<\/strong>\uff1a\u6307\u5b9a\u3057\u305f\u8981\u7d20\u3092\u5de6\u306b\u5bc4\u305b\u307e\u3059\u3002\u5f8c\u306b\u7d9a\u304f\u5185\u5bb9\u306f\u305d\u306e\u53f3\u5074\u306b\u56de\u308a\u8fbc\u307f\u307e\u3059\u3002<br \/>\n<strong>right<\/strong>\uff1a\u6307\u5b9a\u3057\u305f\u8981\u7d20\u3092\u53f3\u306b\u5bc4\u305b\u307e\u3059\u3002\u5f8c\u306b\u7d9a\u304f\u5185\u5bb9\u306f\u305d\u306e\u5de6\u5074\u306b\u56de\u308a\u8fbc\u307f\u307e\u3059\u3002<br \/>\n<strong>none<\/strong>\uff1a\u7279\u306b\u914d\u7f6e\u3092\u6307\u5b9a\u3057\u307e\u305b\u3093\u3002\u3053\u308c\u304c\u521d\u671f\u5024\u3067\u3059\u3002<br \/>\n\u2500<br \/>\nex. float:right;<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_00\uff3d<\/strong><br \/>\n\u57fa\u672c\u306eHTML\u3068CSS<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout00\/\" target=\"_blank\">\u2192layout_00\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!doctype html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n\t&lt;meta charset=&quot;UTF-8&quot;&gt;\r\n\t&lt;title&gt;CSS layout&lt;\/title&gt;\r\n\t&lt;link href=&quot;styles.css&quot; rel=&quot;stylesheet&quot; type=&quot;text\/css&quot;&gt;\r\n&lt;\/head&gt;\r\n\t&lt;body&gt;\r\n\t\t&lt;div class=&quot;box01&quot;&gt;01&lt;\/div&gt;\r\n\t\t&lt;div class=&quot;box02&quot;&gt;02&lt;\/div&gt;\r\n\t\t&lt;div class=&quot;box03&quot;&gt;03&lt;\/div&gt;\r\n\t\t&lt;div class=&quot;box04&quot;&gt;04&lt;\/div&gt;\r\n\t&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>head\u306e\u7d42\u4e86\u30bf\u30b0\u306e\u76f4\u524d\u3067\u4e0b\u8a18\u306eCSS\u3092\u8aad\u307f\u8fbc\u3080\uff0ediv\u30bf\u30b0\u3092\u4f7f\u7528\u3057\uff0cbox01-04\u3092class\u3067\u6307\u5b9a\u3059\u308b\uff0e<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n@charset &quot;UTF-8&quot;;\r\n\/* CSS Document *\/\r\n.container {}\r\n.box01 {}\r\n.box02 {}\r\n.box03 {}\r\n.box04 {}\r\n<\/pre>\n<p>CSS\u306f\u4e00\u5148\u305a\u672a\u8a2d\u5b9a\u306e\u72b6\u614b\uff0e<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_01\uff3d<\/strong><br \/>\nCSS\u3067\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3059\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout01\/\" target=\"_blank\">\u2192layout_01\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box01 {\r\n\tbackground:#00A0E9;\r\n}\r\n.box02 {\r\n\tbackground:#E4007F;\r\n}\r\n.box03 {\r\n\tbackground:#FFF000;\r\n}\r\n.box04 {\r\n\tbackground:#222222;\r\n\tcolor:#FFFFFF;\r\n}\r\n<\/pre>\n<p>\u2500<br \/>\n<strong> \uff3blayout_02\uff3d<\/strong><br \/>\nCSS\u3067div\u306e\u30b5\u30a4\u30ba\uff08\u30dc\u30c3\u30af\u30b9\u30b5\u30a4\u30ba\uff09\u3092\u6307\u5b9a\u3059\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout02\/\" target=\"_blank\">\u2192layout_02\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box01 {\r\n\tbackground:#00A0E9;\r\n\twidth: 200px;\r\n\theight: 200px;\r\n}\r\n<\/pre>\n<p>\u4ed6\u306e\u30dc\u30c3\u30af\u30b9\u3082[width, height]\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_03\uff3d<\/strong><br \/>\nbody\u306e\u30de\u30fc\u30b8\u30f3\u306e\u6307\u5b9a<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout03\/\" target=\"_blank\">\u2192layout_03\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n\tmargin: 0px;\r\n\tpadding: 0px;\r\n<\/pre>\n<p>\u25cf\u6307\u5b9a\u524d<br \/>\n<a href=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/01.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-110\" src=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/01-150x150.gif\" alt=\"01\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>\u25cf\u6307\u5b9a\u5f8c<br \/>\n<a href=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/02.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-111\" src=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/02-150x150.gif\" alt=\"02\" width=\"150\" height=\"150\" \/><\/a><br \/>\n\u521d\u671f\u5024\u3067\u5165\u3063\u3066\u3044\u308b\u4e0a\u4e0b\u5de6\u53f3\u306e\u300c\u4f59\u767d\u300d\u304c\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3067\u6d88\u3048\u308b\uff0e<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_04\uff3d<\/strong><br \/>\ndiv\uff08\u30dc\u30c3\u30af\u30b9\uff09\u306epadding\u3092\u6307\u5b9a\u3057\uff0c\u30dc\u30c3\u30af\u30b9\u5185\u5074\u306e\u6587\u5b57\u5217\u306b\u4f59\u767d\u3092\u4e0e\u3048\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout04\/\" target=\"_blank\">\u2192layout_04\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box01 {\r\n\tbackground:#00A0E9;\r\n\twidth: 160px;\r\n\theight: 160px;\r\n\t\/*\u4e0a\u4e0b\u5de6\u53f3\u306b20pix\u3065\u3064\u4f59\u767d\u3092\u4f5c\u308b*\/\r\n\tpadding:20px;\r\n}\r\n<\/pre>\n<p>box01\u306b\u30d1\u30c7\u30a3\u30f3\u30b0\u3092\u8a2d\u5b9a\uff0cbox02\u306f\u672a\u8a2d\u5b9a\u306e\u72b6\u614b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/03.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-116\" src=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/03-151x300.gif\" alt=\"03\" width=\"151\" height=\"300\" \/><\/a><\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_05\uff3d<\/strong><br \/>\ndiv\uff08\u30dc\u30c3\u30af\u30b9\uff09\u306e\u30b5\u30a4\u30ba\u3092\u63c3\u3048\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout05\/\" target=\"_blank\">\u2192layout_05\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box01 {\r\n\tbackground:#00A0E9;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n}\r\n<\/pre>\n<p>padding\u3092\u4f7f\u7528\u3057\u305f\u5206\uff0cbox\u306e\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304f\u306a\u3063\u3066\u3044\u308b\u305f\u3081\uff0c\u4f59\u8a08\u306b\u5927\u304d\u304f\u306a\u3063\u305f\u5206\u3092\u8a08\u7b97\u3057\u30b5\u30a4\u30ba\u30c0\u30a6\u30f3\u3059\u308b\uff0e<br \/>\n\u4e0a\u8a18\u3067\u306f\u4f59\u767d\u4e0a\u4e0b\u5de6\u53f310\u30d4\u30af\u30bb\u30eb\u3068\u3063\u3066\u3044\u308b\u305f\u3081\uff0c\u5143\u3068\u3057\u3066\u3044\u308b\u30dc\u30c3\u30af\u30b9\u30b5\u30a4\u30ba\u306e200\u30d4\u30af\u30bb\u30eb\u306e\u304b\u308910\u30d4\u30af\u30bb\u30eb\u00d72\u306e20\u30d4\u30af\u30bb\u30eb\u3065\u3064\u5f15\u3044\u305f\uff0c180\u30d4\u30af\u30bb\u30eb\u3092\u30b5\u30a4\u30ba\u3068\u3057\u3066\u3044\u308b\uff0e<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_06\uff3d<\/strong><br \/>\nCSS\u3067div\uff08\u30dc\u30c3\u30af\u30b9\uff09\u306bfloat\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3057\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u884c\u3046\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout06\/\" target=\"_blank\">\u2192layout_06\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box01 {\r\n\tbackground:#00A0E9;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*float\u306e\u8a2d\u5b9a*\/\r\n\tfloat: left;\r\n}\r\n.box02 {\r\n\tbackground:#E4007F;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*float\u306e\u8a2d\u5b9a*\/\r\n\tfloat: left;\r\n}\r\n.box03 {\r\n\tbackground:#FFF000;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*float\u306e\u8a2d\u5b9a*\/\r\n\tfloat: left;\r\n}\r\n.box04 {\r\n\tbackground:#222222;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*float\u306e\u8a2d\u5b9a*\/\r\n\tfloat: left;\r\n}\r\n<\/pre>\n<p>\u3059\u3079\u3066\u306ebox\u306bfloat:left\u306e\u8a2d\u5b9a\u3092\u4f7f\u7528\u3057\u5de6\u5bc4\u305b\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u884c\u3046\uff0e<br \/>\nfloat\u30ec\u30a4\u30a2\u30a6\u30c8\u306f\u8a70\u3081\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u305f\u3081\uff0c\u30a6\u30a4\u30f3\u30c9\u30a6\u30b5\u30a4\u30ba\u304c\u5909\u66f4\u3055\u308c\u308c\u3070\uff0c\u3053\u306e\u30b5\u30a4\u30ba\u306b\u9069\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u884c\u3046\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2014-09-22-13.50.30.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-121\" src=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2014-09-22-13.50.30-150x150.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2014-09-22 13.50.30\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_07\uff3d<\/strong><br \/>\nfloat\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3092\u89e3\u9664\u3059\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout07\/\" target=\"_blank\">\u2192layout_07\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box04 {\r\n\tbackground:#222222;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\tclear: both;\r\n}\r\n<\/pre>\n<p>float\u306f\u4e00\u5ea6\u6307\u5b9a\u3092\u884c\u3046\u3068\uff0c\u305d\u306e\u5f8c\u306e\u8981\u7d20\u3082\u540c\u69d8\u306bfloat\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u306a\u308b\u305f\u3081\uff0c\u89e3\u9664\u3059\u308b\u305f\u3081\u306b\u306f\u4e0a\u8a18\u306eclear:both\u3092\u4f7f\u7528\u3059\u308b\uff0e<br \/>\n\uff08\u6539\u884c\u3057\u305f\u3044\u30dc\u30c3\u30af\u30b9\u3092\u4f5c\u308b\u305f\u3081\u306b\u306f\u3053\u306e\u6307\u5b9a\u304c\u5fc5\u8981\u3067\u3059\uff01\uff09<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_08\uff3d<\/strong><br \/>\nCSS\u3067div\uff08\u30dc\u30c3\u30af\u30b9\uff09\u306bfloat\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u305f\u30d9\u30fc\u30b7\u30c3\u30af\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout08\/\" target=\"_blank\">\u2192layout_08\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;body&gt;\r\n\t&lt;div class=&quot;container&quot;&gt;\r\n\t    &lt;div class=&quot;box01&quot;&gt;01&lt;\/div&gt;\r\n\t    &lt;div class=&quot;box02&quot;&gt;02&lt;\/div&gt;\r\n\t    &lt;div class=&quot;box03&quot;&gt;03&lt;\/div&gt;\r\n\t    &lt;div class=&quot;box04&quot;&gt;04&lt;\/div&gt;\r\n\t&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n<\/pre>\n<p>4\u3064\u306ediv\uff08\u30dc\u30c3\u30af\u30b9\uff09\u3092\u3072\u3068\u3064\u306ediv\uff08\u30dc\u30c3\u30af\u30b9[class=&#8221;container&#8221;]\uff09\u3067\u307e\u3068\u3081\u3066\uff0c\u89aa\u5b50\u95a2\u4fc2\u3092\u4f5c\u308b\uff0e\u3053\u306e\u69cb\u9020\u3067CSS\u306b\u3088\u308b4\u3064\u306e\u30dc\u30c3\u30af\u30b9\u5168\u4f53\u7684\u306a\u6307\u5b9a\u3068\u500b\u3005\u306e\u30dc\u30c3\u30af\u30b9\u306e\u90e8\u5206\u7684\u306a\u6307\u5b9a\u3092\u53ef\u80fd\u3068\u3057\u307e\u3059\uff0e\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u306b\u8fd1\u3044\u3067\u3059\uff0e<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\nbody {\r\n\tmargin: 0px;\r\n\tpadding: 0px;\r\n}\r\n.container {\r\n\twidth:900px;\r\n\t\/*\u5de6\u53f3\u306e\u4f59\u767d\u3092\u5747\u7b49\u306b\uff0e\u30bb\u30f3\u30bf\u30ea\u30f3\u30b0*\/\r\n\tmargin: auto;\r\n\tbackground:#CCCCCC;\r\n}\r\n.box01 {\r\n\tbackground:#00A0E9;\r\n\twidth: 900px;\r\n\theight: 300px;\r\n\tpadding:10px;\r\n}\r\n.box02 {\r\n\tbackground:#E4007F;\r\n\twidth: 580px;\r\n\theight: 380px;\r\n\tpadding:10px;\r\n\tfloat: left;\r\n}\r\n.box03 {\r\n\tbackground:#FFF000;\r\n\twidth: 280px;\r\n\theight: 380px;\r\n\tpadding:10px;\r\n\tfloat: left;\r\n}\r\n.box04 {\r\n\tbackground:#222222;\r\n\twidth: 880px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\tclear: both;\r\n}\r\n<\/pre>\n<p>\u89aa\u306e\u30dc\u30c3\u30af\u30b9container\u3067\u306f\u30dc\u30c3\u30af\u30b9\u306e\u6a2a\u5e45\u3068\u30dc\u30c3\u30af\u30b9\u5168\u4f53\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u6307\u5b9a\u3092\u3057\u3066\u3044\u307e\u3059\uff0e\uff08margin:auto;\u306f\u5de6\u53f3\u306e\u4f59\u767d\u3092\u5747\u7b49\u306b\u3059\u308b\u51e6\u7406\u3067\u3059\uff09\uff0e<br \/>\n4\u3064\u306e\u500b\u3005\u306e\u30dc\u30c3\u30af\u30b9\u306f\u89aa\u306e\u30dc\u30c3\u30af\u30b9\u306e\u6a2a\u5e45\uff08\u4e0a\u8a18\u306f900pix\uff09\u306b\u3042\u308f\u305b\u3066\uff0c\u6a2a\u5e45\uff08width\uff09\u3092\u8a08\u7b97\u3057\u3066\u914d\u7f6e\u3057\u3066\u3044\u307e\u3059\uff0e<br \/>\n\u30b5\u30a4\u30ba\u306e\u51e6\u7406\u304c\u4e0a\u624b\u304f\u306a\u3044\u3068\u89aa\u306e\u30dc\u30c3\u30af\u30b9\u3067\u306f900pix\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\uff0c\u30ac\u30bf\u30ac\u30bf\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u306e\u3067\u6ce8\u610f\u3057\u3066\u4e0b\u3055\u3044\uff0e<\/p>\n<p>\u25cf\u6307\u5b9a\u304c\u4e0a\u624b\u304f\u3044\u304b\u306a\u3044\u5834\u5408<br \/>\n\u4e0b\u8a18\u306e\u753b\u50cf\u306e\u7528\u306b\u30ac\u30bf\u30ac\u30bf\u3057\u305f\u7d44\u307f\u306b\u306a\u3063\u3066\u3057\u307e\u3046\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2014-09-22-14.08.51.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-126\" src=\"http:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2014-09-22-14.08.51-300x211.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2014-09-22 14.08.51\" width=\"300\" height=\"211\" srcset=\"https:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2014-09-22-14.08.51-300x211.png 300w, https:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2014-09-22-14.08.51-1024x721.png 1024w, https:\/\/kiso2.info\/wp-content\/uploads\/2014\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2014-09-22-14.08.51.png 1181w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p class=\"honbun\"><strong>\u2500<br \/>\n\uff3bpostion\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u7528\uff3d<br \/>\n<\/strong>position\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\uff0c\u30dc\u30c3\u30af\u30b9\u306e\u914d\u7f6e\u65b9\u6cd5\uff08\u57fa\u6e96\u4f4d\u7f6e\uff09\u304c\uff0c\u76f8\u5bfe\u4f4d\u7f6e\u304b\u7d76\u5bfe\u4f4d\u7f6e\u304b\u3092\u6307\u5b9a\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002position\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u6307\u5b9a\u3059\u308b\u306e\u306f\uff0c\u914d\u7f6e\u65b9\u6cd5\uff08\u57fa\u6e96\u4f4d\u7f6e\uff09\u306e\u307f\u3067\u3059\uff0e \u5b9f\u969b\u306e\u8868\u793a\u4f4d\u7f6e\u306e\u6307\u5b9a\u306b\u306f\uff0ctop, left, right, bottom \u3092\u4f75\u7528\u3057\u3066\uff0c\u57fa\u6e96\u4f4d\u7f6e\u304b\u3089\u306e\u8ddd\u96e2\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e<br \/>\n\u2500<br \/>\n<strong>static<\/strong>\uff1a\u7279\u306b\u914d\u7f6e\u65b9\u6cd5\u3092\u6307\u5b9a\u3057\u307e\u305b\u3093\uff0e\u3053\u306e\u5024\u306e\u3068\u304d\u306b\u306f top, bottom, left, right \u306f\u9069\u7528\u3055\u308c\u307e\u305b\u3093\uff0e\u521d\u671f\u5024\u3067\u3059\uff0e<br \/>\n<strong>relative<\/strong>\uff1a\u76f8\u5bfe\u4f4d\u7f6e\u3078\u306e\u914d\u7f6e\u3068\u306a\u308a\u307e\u3059\uff0e<br \/>\n<strong>absolute<\/strong>\uff1a\u7d76\u5bfe\u4f4d\u7f6e\u3078\u306e\u914d\u7f6e\u3068\u306a\u308a\u307e\u3059\uff0e\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\uff0c\u89aa\u30dc\u30c3\u30af\u30b9\u306e\u5de6\u4e0a\u304c\u57fa\u6e96\u4f4d\u7f6e\u3068\u306a\u308a\u307e\u3059\uff0e\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\uff0c\u30a6\u30a3\u30f3\u30c9\u30a6\u5168\u4f53\u306e\u5de6\u4e0a\u304c\u57fa\u6e96\u4f4d\u7f6e\u3068\u306a\u308a\u307e\u3059\uff0e<br \/>\n<strong>fixed<\/strong>\uff1a\u7d76\u5bfe\u4f4d\u7f6e\u3078\u306e\u914d\u7f6e\u3068\u306a\u308b\u306e\u306fabsolute\u3068\u540c\u3058\u3067\u3059\u304c\uff0c\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3082\u4f4d\u7f6e\u304c\u56fa\u5b9a\u3055\u308c\u305f\u307e\u307e\u3068\u306a\u308a\u307e\u3059\uff0e<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_09\uff3d<\/strong><br \/>\nCSS\u3067div\uff08\u30dc\u30c3\u30af\u30b905, 06, 07\uff09\u306bposition\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3059\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout09\/\" target=\"_blank\">\u2192layout_09\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><br \/>\n\u25cfhtml\u306b\u30dc\u30c3\u30af\u30b9\uff0805, 06, 07\uff09\u306e\u8ffd\u52a0<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!doctype html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=&quot;UTF-8&quot;&gt;\r\n&lt;title&gt;CSS layout&lt;\/title&gt;\r\n&lt;link href=&quot;styles.css&quot; rel=&quot;stylesheet&quot; type=&quot;text\/css&quot;&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;div class=&quot;container&quot;&gt;\r\n    &lt;div class=&quot;box01&quot;&gt;01&lt;\/div&gt;\r\n    &lt;div class=&quot;box02&quot;&gt;02&lt;\/div&gt;\r\n    &lt;div class=&quot;box03&quot;&gt;03\r\n    \t&lt;div class=&quot;box07&quot;&gt;07 position: relative&lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=&quot;box04&quot;&gt;04&lt;\/div&gt;\r\n    &lt;div class=&quot;box05&quot;&gt;05 position: absolute&lt;\/div&gt;\r\n    &lt;div class=&quot;box06&quot;&gt;06 position: fixed&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>CSS\u3067 box04, box05, box06\u306bposition\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\uff0e<br \/>\n\u30dc\u30c3\u30af\u30b9\u306e\u4f4d\u7f6e\u306ftop, left\u3067\u6307\u5b9a\u3059\u308b\uff0e<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box05 {\r\n\tbackground:#0000FA;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*postion\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u7528\u3068top, left\u3092\u4f7f\u7528\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8*\/\r\n\tposition: absolute;\r\n\ttop: 500px;\r\n\tleft: 500px;\r\n}\r\n.box06 {\r\n\tbackground:#FA0000;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*postion\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u7528\u3068top, left\u3092\u4f7f\u7528\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8*\/\r\n\tposition: fixed;\r\n\ttop: 10px;\r\n\tleft: 350px;\r\n}\r\n.box07 {\r\n\tbackground:#FAFAFA;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*postion\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u7528\u3068top, left\u3092\u4f7f\u7528\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8*\/\r\n\tposition: relative;\r\n\ttop: 100px;\r\n\tleft: 50px;\r\n}\r\n<\/pre>\n<p>\u2500<br \/>\n<strong> \uff3blayout_10\uff3d<\/strong><br \/>\nCSS\u3067div\uff08\u30dc\u30c3\u30af\u30b9\uff09\u306e\u524d\u5f8c\u95a2\u4fc2\u3092\u6307\u5b9a\u3059\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout10\/\" target=\"_blank\">\u2192layout_10\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.box06 {\r\n\tbackground:#FA0000;\r\n\twidth: 180px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\tposition: fixed;\r\n\ttop: 100px;\r\n\tleft: 150px;\r\n\t\/*\u524d\u5f8c\u95a2\u4fc2\u306e\u5909\u66f4*\/\r\n\tz-index:2;\r\n}\r\n<\/pre>\n<p>\u524d\u5f8c\u95a2\u4fc2\u3092\u5909\u66f4\u3059\u308b\u306b\u306fz-index\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u307e\u3059\uff0e<br \/>\n\u91cd\u306a\u308a\u306e\u9806\u5e8f\u3092\u6574\u6570\u3067\u6307\u5b9a\uff0e0\u3092\u57fa\u6e96\u3068\u3057\u3066\u5024\u304c\u5927\u304d\u3044\u3082\u306e\u307b\u3069\u4e0a\u306b\u306a\u308a\u307e\u3059\uff0e<\/p>\n<p>\u2500<br \/>\n<strong> \uff3blayout_11\uff3d<\/strong><br \/>\nCSS\u3067div\uff08\u30dc\u30c3\u30af\u30b9\uff09\u306b\u80cc\u666f\u753b\u50cf\u3092\u8a2d\u5b9a\u3059\u308b\uff0e<br \/>\n<a href=\"http:\/\/kiso2.info\/cssLayout\/layout11\/\" target=\"_blank\">\u2192layout_11\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.container {\r\n\twidth:900px;\r\n\tmargin: auto;\r\n\tbackground:#CCCCCC;\r\n\t\/*\u80cc\u666f\u753b\u50cf*\/\r\n\tbackground-image:url(&quot;00.jpg&quot;);\r\n\tbackground-size: cover;\r\n}\r\n.box01 {\r\n\tbackground:#00A0E9;\r\n\twidth: 880px;\r\n\theight: 180px;\r\n\tpadding:10px;\r\n\t\/*\u80cc\u666f\u753b\u50cf*\/\r\n\tbackground-image:url(&quot;01.jpg&quot;);\r\n\tbackground-size: cover;\r\n}\r\n<\/pre>\n<p>\u4ed6\u306e\u30dc\u30c3\u30af\u30b9\u3082\u540c\u69d8\u306bbackground-image\u3092\u4f7f\u7528\u3057\u3066\u753b\u50cf\u3092\u6307\u5b9a\u3057\u3066\u3044\u304f\uff0e<\/p>\n<p><a title=\"\u7b2c3\u9031\u30fb\u8cc7\u6599\u914d\u4ed8\" href=\"http:\/\/kiso2.info\/cssLayout\/layout.pdf\">\u2192\u53c2\u8003PDF<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS\u3067\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306f\u5927\u304d\u304f\u5206\u3051\u3066\uff0cfloat\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3068p &hellip; <a href=\"https:\/\/kiso2.info\/?p=81\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,6,4],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-all","category-css","category-4"],"_links":{"self":[{"href":"https:\/\/kiso2.info\/index.php?rest_route=\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kiso2.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kiso2.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kiso2.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kiso2.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=81"}],"version-history":[{"count":40,"href":"https:\/\/kiso2.info\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":130,"href":"https:\/\/kiso2.info\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions\/130"}],"wp:attachment":[{"href":"https:\/\/kiso2.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kiso2.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kiso2.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}