{"id":10764,"date":"2017-09-05T19:16:45","date_gmt":"2017-09-05T10:16:45","guid":{"rendered":"https:\/\/nxpg.net\/blog\/?p=10764"},"modified":"2019-07-18T10:43:25","modified_gmt":"2019-07-18T01:43:25","slug":"%e4%b8%ad%e5%a0%85%e3%82%b3%e3%83%bc%e3%83%80%e3%83%bc%e3%81%8c%e3%83%8f%e3%83%9e%e3%81%a3%e3%81%9f%e3%80%8cdisplaytable%e3%80%8d%e3%81%ae%e8%90%bd%e3%81%a8%e3%81%97%e7%a9%b43%e3%81%a4%e3%80%82","status":"publish","type":"post","link":"https:\/\/nxpg.net\/blog\/tech\/?p=10764","title":{"rendered":"\u4e2d\u5805\u30b3\u30fc\u30c0\u30fc\u304c\u30cf\u30de\u3063\u305f\u300cdisplay:table\u300d\u306e\u843d\u3068\u3057\u7a743\u3064\u3002"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-10781\" src=\"https:\/\/nxpg.net\/blog\/wp-content\/uploads\/2017\/09\/andre_170905_eyecatch.jpg\" alt=\"\u30c6\u30fc\u30d6\u30eb\" width=\"720\" height=\"480\"><\/p>\n<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30a2\u30f3\u30c9\u30ec\u3067\u3059\u3002<br \/>\n\u305d\u308c\u306a\u308a\u306b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u3084\u3063\u3066\u304d\u3066\u3001CSS\u3067\u30cf\u30de\u308b\u3053\u3068\u3082\u5c11\u306a\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3067\u3082\u30cf\u30de\u308b\u3068\u304d\u306f\u30cf\u30de\u308a\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u6700\u8fd1\u30cf\u30de\u3063\u305f\u300cdisplay:table\u300d\u306e\u843d\u3068\u3057\u7a74\u30923\u3064\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n\uff08\u203bPC\u8868\u793a\u60f3\u5b9a\u30012017\/9\/5\u6642\u70b9\u306e\u5404\u30d6\u30e9\u30a6\u30b6\u6700\u65b0\u7248\u3067\u78ba\u8a8d\uff09<\/p>\n<h2>\u5e45\u304c\u5c11\u6570\u70b9\u4ee5\u4e0b\u306b\u3064\u3044\u3066\u3053\u306a\u3044\uff08Chrome\uff09<\/h2>\n<h3>\u25cf\u30b5\u30f3\u30d7\u30eb<\/h3>\n<p class=\"codepen\" data-height=\"200\" data-theme-id=\"0\" data-slug-hash=\"YxgvWe\" data-default-tab=\"result\" data-user=\"NP-okada\" data-embed-version=\"2\" data-pen-title=\"\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306b\u3064\u3044\u3066\u3053\u306a\u3044\">See the Pen <a href=\"https:\/\/codepen.io\/NP-okada\/pen\/YxgvWe\/\">\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306b\u3064\u3044\u3066\u3053\u306a\u3044<\/a> by Takamasa Okada (<a href=\"https:\/\/codepen.io\/NP-okada\">@NP-okada<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p>\u4e0a\u306e\u30b5\u30f3\u30d7\u30eb\u3092Chrome\u3067\u3054\u78ba\u8a8d\u3044\u305f\u3060\u304f\u3068\u3001\u300c3\u300d\u306e\u30bb\u30eb\u306e\u53f3\u5074\u3001\u9ed2\u3044\u80cc\u666f\u304c\u898b\u3048\u3066\u3044\u307e\u305b\u3093\u304b\uff1f<br \/>\n\uff08\u898b\u3048\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u6a2a\u65b9\u5411\u306b\u4f38\u3070\u3057\u305f\u308a\u7e2e\u3081\u305f\u308a\u3057\u3066\u3044\u305f\u3060\u304f\u3068\u898b\u3048\u308b\u3068\u601d\u3044\u307e\u3059\uff09<br \/>\nul\u306b\u9ed2\u306e\u80cc\u666f\u3001li\u306b\u5e4533.33%\u3068\u7070\u8272\u306e\u80cc\u666f\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001ul\u306e\u9818\u57df\u3092\u57cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\nChrome\u3067\u306fdisplay:table\u306e\u8981\u7d20\u306e\u5e45\u306f\u6574\u6570\u306b\u3057\u304b\u306a\u3089\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<h3>\u25cf\u89e3\u6c7a\u6cd5<\/h3>\n<p class=\"codepen\" data-height=\"200\" data-theme-id=\"21128\" data-slug-hash=\"oeVPKW\" data-default-tab=\"result\" data-user=\"NP-okada\" data-embed-version=\"2\" data-pen-title=\"\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306b\u3064\u3044\u3066\u3053\u306a\u3044\u3092\u89e3\u6c7a\">See the Pen <a href=\"https:\/\/codepen.io\/NP-okada\/pen\/oeVPKW\/\">\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306b\u3064\u3044\u3066\u3053\u306a\u3044\u3092\u89e3\u6c7a<\/a> by Takamasa Okada (<a href=\"https:\/\/codepen.io\/NP-okada\">@NP-okada<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p>display:table\u306f\u8ae6\u3081\u3001\u305d\u308c\u4ee5\u5916\u306e\u65b9\u6cd5\u3067\u5782\u76f4\u4e2d\u592e\u63c3\u3048\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306fli&gt;span\u306btop:50%\u3068\u305d\u308c\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u306edisplay:block\u304a\u3088\u3073position:relative\u3092\u6307\u5b9a\u3057\u3001transform:translateY(-50%)\u3067\u8981\u7d20\uff08span\uff09\u306e\u9ad8\u3055\u306e\u534a\u5206\u4e0a\u306b\u305a\u3089\u3057\u3001\u5782\u76f4\u4e2d\u592e\u63c3\u3048\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\ntransform\u3092\u4f7f\u3046\u306e\u3067\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u306fIE9\u4ee5\u4e0a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30dc\u30fc\u30c0\u30fc\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u7d76\u5bfe\u914d\u7f6e\u306e\u57fa\u70b9\u306b\u5dee\u7570\u304c\u751f\u307e\u308c\u308b<\/h2>\n<h3>\u25cf\u30b5\u30f3\u30d7\u30eb<\/h3>\n<p class=\"codepen\" data-height=\"150\" data-theme-id=\"21128\" data-slug-hash=\"KvEBGy\" data-default-tab=\"result\" data-user=\"NP-okada\" data-embed-version=\"2\" data-pen-title=\"\u57fa\u70b9\u304c\u9055\u3046\">See the Pen <a href=\"https:\/\/codepen.io\/NP-okada\/pen\/KvEBGy\/\">\u57fa\u70b9\u304c\u9055\u3046<\/a> by Takamasa Okada (<a href=\"https:\/\/codepen.io\/NP-okada\">@NP-okada<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p>\u4e0a\u306e\u30b5\u30f3\u30d7\u30eb\u3092Chrome\u3068Firefox\u3067\u305d\u308c\u305e\u308c\u3054\u78ba\u8a8d\u3044\u305f\u3060\u304f\u3068\u3001\u8d64\u3044\u30c9\u30c3\u30c8\u306e\u4f4d\u7f6e\u304c\u9055\u3046\u306f\u305a\u3067\u3059\u3002<br \/>\ndisplay:table\u306e\u8981\u7d20\u306b\u30dc\u30fc\u30c0\u30fc\u3068position:relative\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001position:absolute\u3092\u6307\u5b9a\u3057\u305f\u8981\u7d20\uff08\u4eca\u56de\u306f\u8d64\u3044\u30c9\u30c3\u30c8\uff09\u306e\u57fa\u70b9\u306f\u3001Chrome\u306f\u30dc\u30fc\u30c0\u30fc\u306e\u5185\u5074\u306a\u306e\u306b\u5bfe\u3057\u3001Firefox\u306f\u30dc\u30fc\u30c0\u30fc\u542b\u307f\u3068\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<h3>\u25cf\u89e3\u6c7a\u6cd5<\/h3>\n<p>display:table\u306e\u8981\u7d20\u3092div\u3067\u5305\u3093\u3067\u305d\u306ediv\u306bposition:relative\u3092\u6307\u5b9a\u3059\u308b\u304b\u3001\u5b50\u8981\u7d20\u306b\u30dc\u30fc\u30c0\u30fc\u6307\u5b9a\u3092\u79fb\u3059\u306a\u3069\u3001CSS\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u3044\u305a\u308c\u304b\u3092\u79fb\u3057\u3066\u3084\u308c\u3070\u554f\u984c\u306a\u3044\u3067\u3059\u3002<\/p>\n<h2>overflow:hidden\u306f\u7121\u52b9\uff08Firefox\uff09<\/h2>\n<h3>\u25cf\u30b5\u30f3\u30d7\u30eb<\/h3>\n<p class=\"codepen\" data-height=\"200\" data-theme-id=\"21128\" data-slug-hash=\"ayMjex\" data-default-tab=\"result\" data-user=\"NP-okada\" data-embed-version=\"2\" data-pen-title=\"overflow: hidden\u306f\u7121\u52b9\">See the Pen <a href=\"https:\/\/codepen.io\/NP-okada\/pen\/ayMjex\/\">overflow: hidden\u306f\u7121\u52b9<\/a> by Takamasa Okada (<a href=\"https:\/\/codepen.io\/NP-okada\">@NP-okada<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p>\u4e0a\u306e\u30b5\u30f3\u30d7\u30eb\u3092Firefox\u3067\u3054\u78ba\u8a8d\u3044\u305f\u3060\u304f\u3068\u3001\u5de6\u304b\u3089\u53f3\u306b\u6d41\u308c\u3066\u3044\u304f\u9ed2\u8272\u306e\u80cc\u666f\u304c\u3001\u30b0\u30ec\u30fc\u306e\u80cc\u666f\u306e\u9818\u57df\u304b\u3089\u306f\u307f\u51fa\u3066\u3082\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<br \/>\ndisplay:table\u306e\u8981\u7d20\u306b\u6307\u5b9a\u3057\u3066\u3044\u308b\u3001overflow:hidden\u304c\u52b9\u3044\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<h3>\u25cf\u89e3\u6c7a\u6cd5<\/h3>\n<p>display:table\u306e\u8981\u7d20\u3092div\u3067\u5305\u307f\u3001\u305d\u306ediv\u306boverflow:hidden\u3092\u6307\u5b9a\u3059\u308b\u306e\u304c\u4e00\u756a\u30b7\u30f3\u30d7\u30eb\u3067\u78ba\u5b9f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u5782\u76f4\u65b9\u5411\u306e\u4e2d\u592e\u63c3\u3048\u3092\u5b9f\u73fe\u3059\u308b\u306e\u306b\u3001display:table\uff08\u3068display:table-cell\uff09\u306f\u3088\u304f\u4f7f\u3046\u306e\u3067\u3059\u304c\u3001display:block\u3068\u540c\u3058\u611f\u899a\u3067\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001\u601d\u308f\u306c\u843d\u3068\u3057\u7a74\u304c\u3042\u3063\u305f\u308a\u3057\u307e\u3059\u3002<br \/>\ntable\u7cfb\u306e\u6319\u52d5\u306f\u3001Chrome\u7b49\u306ewebkit\u7cfb\u3068Firefox\u30fbIE\u3068\u3067\u5dee\u7570\u304c\u51fa\u3084\u3059\u3044\u3088\u3046\u306a\u306e\u3067\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u969b\u306b\u306f\u53cc\u65b9\u3067\u30d7\u30ec\u30d3\u30e5\u30fc\u3057\u3064\u3064\u9032\u3081\u308b\u3068\u3088\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u3067\u306f\u3001\u3088\u304dtable\u30e9\u30a4\u30d5\u3092\u3002<\/p>\n<p><script src=\"\/\/assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30a2\u30f3\u30c9\u30ec\u3067\u3059\u3002 \u305d\u308c\u306a\u308a\u306b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u3084\u3063\u3066\u304d\u3066\u3001CSS\u3067\u30cf\u30de\u308b\u3053\u3068\u3082\u5c11\u306a\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3067\u3082\u30cf\u30de\u308b\u3068\u304d\u306f\u30cf\u30de\u308a\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001\u6700\u8fd1\u30cf\u30de\u3063\u305f\u300cdisplay:table\u300d\u306e\u843d\u3068\u3057\u7a74\u30923\u3064\u3054\u7d39\u4ecb\u3057\u307e\u3059 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":13045,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts\/10764"}],"collection":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10764"}],"version-history":[{"count":2,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts\/10764\/revisions"}],"predecessor-version":[{"id":13491,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts\/10764\/revisions\/13491"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/media\/13045"}],"wp:attachment":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}