{"id":524,"date":"2010-02-16T15:21:05","date_gmt":"2010-02-16T21:21:05","guid":{"rendered":"http:\/\/cssnewbie.com\/?p=524"},"modified":"2010-02-16T15:21:05","modified_gmt":"2010-02-16T21:21:05","slug":"new-example-page-formatting","status":"publish","type":"post","link":"https:\/\/cssdeck.com\/blog\/new-example-page-formatting\/","title":{"rendered":"New Example Page Formatting"},"content":{"rendered":"<p><a href=\"http:\/\/cssnewbie.com\/example\/equal-heights\/\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2010\/02\/cssnewbie-example.png\" alt=\"\" title=\"CSS Newbie Example Page\" width=\"500\" height=\"150\" class=\"alignnone size-full wp-image-525\" \/><\/a><\/p>\n<p>I&#8217;ve always liked that most of my articles here at CSS Newbie have live demos &mdash; places where you can go and check out the code working in the real world. It&#8217;s a nice complement to the tutorials, I think.<\/p>\n<p>But one think I&#8217;ve never liked about this setup is that my demos have no visual consistency. Some have background colors, some don&#8217;t. Some are centered while others are left-justified. Almost none of them show the source in the page itself. And not a single one of them is \u201cbranded\u201d CSS Newbie.<\/p>\n<p>This has always been a background annoyance, until a few weeks ago when I installed Google Analytics on my example pages and realized they were getting a lot more traffic than I expected. And further, many people visited the example pages without ever first seeing the corresponding CSS Newbie article. So people were getting examples with no context, and no way to respond.<\/p>\n<p>I wasn&#8217;t cool with that. <!--more--><\/p>\n<p>So, I took some time and added a new wrapper to my CSS Newbie example pages. It solves the branding problem, makes tracking more consistent, and makes the example pages more useful to boot. <\/p>\n<p>Now when you visit a CSS Newbie demo page, you&#8217;ll see the live demo on the left, and the code generating that demo on the right. It&#8217;s as easy as copy\/paste to get the code for your own, without having to view the source. And to make things even simpler, there&#8217;s a link to download the source code to your computer.<\/p>\n<p>Here&#8217;s a few example pages to try out:<\/p>\n<ul>\n<li><a href=\"http:\/\/cssnewbie.com\/example\/clickable-li\/\">Make an Entire List Item Clickable<\/a><\/li>\n<li><a href=\"http:\/\/cssnewbie.com\/example\/equal-heights\/\">Equal Height Columns with jQuery<\/a><\/li>\n<li><a href=\"http:\/\/cssnewbie.com\/example\/popout-ad\/\">Building a jQuery Popout Ad<\/a><\/li>\n<li><a href=\"http:\/\/cssnewbie.com\/example\/styling-blockquotes\/\">Styling Blockquotes<\/a><\/li>\n<li><a href=\"http:\/\/cssnewbie.com\/example\/zebra-tables\/\">Easy Zebra Striping Tables<\/a><\/li>\n<\/ul>\n<p>So please, take a look at the new CSS Newbie example pages. Let me know what you think: what you like, what you don&#8217;t, or what you&#8217;d like to see added in the future.<\/p>\n<div class=\"wp-socializer wpsr-share-icons \" data-lg-action=\"show\" data-sm-action=\"show\" data-sm-width=\"768\" ><h3>Share and Enjoy !<\/h3><div class=\"wpsr-si-inner\"><div class=\"wpsr-counter wpsrc-sz-32px\" style=\"color:#000\"><span class=\"scount\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook,twitter,linkedin,pinterest,print,pdf\">0<\/span><\/span><small class=\"stext\">Shares<\/small><\/div><div class=\"socializer sr-popup sr-32px sr-circle sr-opacity sr-pad sr-count-1 sr-count-1\"><span class=\"sr-facebook\"><a rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/share.php?u=\" target=\"_blank\"  title=\"Share this on Facebook\"  style=\"color: #ffffff\" ><i class=\"fab fa-facebook-f\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-twitter\"><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=%20-%20%20\" target=\"_blank\"  title=\"Tweet this !\"  style=\"color: #ffffff\" ><i class=\"fab fa-twitter\"><\/i><\/a><\/span>\n<span class=\"sr-linkedin\"><a rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=\" target=\"_blank\"  title=\"Add this to LinkedIn\"  style=\"color: #ffffff\" ><i class=\"fab fa-linkedin-in\"><\/i><\/a><\/span>\n<span class=\"sr-pinterest\"><a rel=\"nofollow\" href=\"https:\/\/www.pinterest.com\/pin\/create\/button\/?url=&amp;media=&amp;description=\" target=\"_blank\"  title=\"Submit this to Pinterest\"  style=\"color: #ffffff\" data-pin-custom=\"true\"><i class=\"fab fa-pinterest\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"pinterest\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-print\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Print this article \"  style=\"color: #ffffff\" ><i class=\"fa fa-print\"><\/i><\/a><\/span>\n<span class=\"sr-pdf\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Convert to PDF\"  style=\"color: #ffffff\" ><i class=\"fa fa-file-pdf\"><\/i><\/a><\/span><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve never liked that my CSS Newbie demo pages have no visual consistency. So, I took some time and added a new wrapper. It makes them more consistent and more useful at the same time. [&#8230;]<\/p>\n<p><a class=\"more-link article\" href=\"https:\/\/cssdeck.com\/blog\/new-example-page-formatting\/\" title=\"Click to read 'New Example Page Formatting'\">Read Article<\/a><\/p>\n","protected":false},"author":18,"featured_media":525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[196],"tags":[],"_links":{"self":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/524"}],"collection":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/comments?post=524"}],"version-history":[{"count":0,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media\/525"}],"wp:attachment":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media?parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/categories?post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/tags?post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}