{"id":1094,"date":"2011-10-04T10:23:00","date_gmt":"2011-10-04T10:23:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2011\/10\/04\/css-margin-and-padding-shorthand\/"},"modified":"2011-10-04T10:23:00","modified_gmt":"2011-10-04T10:23:00","slug":"css-margin-and-padding-shorthand","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2011\/10\/04\/css-margin-and-padding-shorthand\/","title":{"rendered":"CSS: Margin and Padding Shorthand"},"content":{"rendered":"<p>\t\t\t\tI asked myself: In which order are the 4 values listed, and it took me a while, to find a serious statement on this.<\/p>\n<p>From\u00a0<a href=\"http:\/\/shop.oreilly.com\/product\/9780596802455.do\">CSS: The Missing Manual, Second Edition<\/a>.<\/p>\n<p>\u2026 You\u2019ll frequently want to set all four sides of a style\u2019s margin or padding. \u2026<br \/>\n\u2026 The order in which you specify the four values is important. It must be top, right, bottom, and left. If you get it wrong, you\u2019ll be in trouble. In fact, the easiest way to keep the order straight is to remember to stay out of <b>TRouBLe<\/b>\u2014top, right, bottom, and left. \u2026\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I asked myself: In which order are the 4 values listed, and it took me a while, to find a serious statement on this. From\u00a0CSS: The Missing Manual, Second Edition. \u2026 You\u2019ll frequently want to set all four sides of a style\u2019s margin or padding. \u2026 \u2026 The order in which you specify the four [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[73,226,822],"tags":[],"class_list":["post-1094","post","type-post","status-publish","format-standard","hentry","category-css","category-html","category-oreilly-publishers"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-hE","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=1094"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1094\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=1094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=1094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=1094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}