{"id":886,"date":"2012-09-18T10:32:26","date_gmt":"2012-09-18T10:32:26","guid":{"rendered":"http:\/\/www.withinweb.com\/info\/?p=886"},"modified":"2012-09-18T10:32:26","modified_gmt":"2012-09-18T10:32:26","slug":"simple-way-to-center-a-block-using-divs","status":"publish","type":"post","link":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/","title":{"rendered":"Simple way to center a block using divs"},"content":{"rendered":"<blockquote><p>&lt;div style=&#8221;text-align: center;&#8221;&gt;<br \/>\n&lt;div style=&#8221;text-align: left; margin: 1em auto; width: 50%;&#8221;&gt;<\/p>\n<p>Enter your content here<\/p>\n<p>&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>&lt;div style=&#8221;text-align: center;&#8221;&gt; &lt;div style=&#8221;text-align: left; margin: 1em auto; width: 50%;&#8221;&gt; Enter your content here &lt;\/div&gt; &lt;\/div&gt;<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-886","post","type-post","status-publish","format-standard","hentry","category-site-design"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Simple way to center a block using divs - PHP Web Applications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Simple way to center a block using divs - PHP Web Applications\" \/>\n<meta property=\"og:description\" content=\"&lt;div style=&#8221;text-align: center;&#8221;&gt; &lt;div style=&#8221;text-align: left; margin: 1em auto; width: 50%;&#8221;&gt; Enter your content here &lt;\/div&gt; &lt;\/div&gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Web Applications\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-18T10:32:26+00:00\" \/>\n<meta name=\"author\" content=\"paulv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"paulv\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/\"},\"author\":{\"name\":\"paulv\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"headline\":\"Simple way to center a block using divs\",\"datePublished\":\"2012-09-18T10:32:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/\"},\"wordCount\":34,\"commentCount\":0,\"articleSection\":[\"Site Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/\",\"name\":\"Simple way to center a block using divs - PHP Web Applications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\"},\"datePublished\":\"2012-09-18T10:32:26+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/simple-way-to-center-a-block-using-divs\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simple way to center a block using divs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\",\"name\":\"PHP Web Applications\",\"description\":\"Information and support for products of WithinWeb.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\",\"name\":\"paulv\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/author\\\/paulv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Simple way to center a block using divs - PHP Web Applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/","og_locale":"en_US","og_type":"article","og_title":"Simple way to center a block using divs - PHP Web Applications","og_description":"&lt;div style=&#8221;text-align: center;&#8221;&gt; &lt;div style=&#8221;text-align: left; margin: 1em auto; width: 50%;&#8221;&gt; Enter your content here &lt;\/div&gt; &lt;\/div&gt;","og_url":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/","og_site_name":"PHP Web Applications","article_published_time":"2012-09-18T10:32:26+00:00","author":"paulv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"paulv"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/#article","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/"},"author":{"name":"paulv","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"headline":"Simple way to center a block using divs","datePublished":"2012-09-18T10:32:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/"},"wordCount":34,"commentCount":0,"articleSection":["Site Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/","url":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/","name":"Simple way to center a block using divs - PHP Web Applications","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/#website"},"datePublished":"2012-09-18T10:32:26+00:00","author":{"@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"breadcrumb":{"@id":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.withinweb.com\/info\/simple-way-to-center-a-block-using-divs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.withinweb.com\/info\/"},{"@type":"ListItem","position":2,"name":"Simple way to center a block using divs"}]},{"@type":"WebSite","@id":"https:\/\/www.withinweb.com\/info\/#website","url":"https:\/\/www.withinweb.com\/info\/","name":"PHP Web Applications","description":"Information and support for products of WithinWeb.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.withinweb.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c","name":"paulv","url":"https:\/\/www.withinweb.com\/info\/author\/paulv\/"}]}},"_links":{"self":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/comments?post=886"}],"version-history":[{"count":1,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/886\/revisions"}],"predecessor-version":[{"id":887,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/886\/revisions\/887"}],"wp:attachment":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/media?parent=886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/categories?post=886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/tags?post=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}