{"id":826,"date":"2018-08-01T09:34:11","date_gmt":"2018-08-01T13:34:11","guid":{"rendered":"http:\/\/tech.creed3.com\/?p=826"},"modified":"2018-08-21T09:53:23","modified_gmt":"2018-08-21T13:53:23","slug":"css-is","status":"publish","type":"post","link":"https:\/\/tech.creed3.com\/?p=826","title":{"rendered":"CSS is . . ."},"content":{"rendered":"<p><img decoding=\"async\" style=\"margin: 0 4px 0 4px;\" alt=\"\" src=\"images\/CSS3.png\" width=\"130\" align=\"left\" border=\"0\" \/>CSS is <span class=\"st\">Awesome<\/span> <span class=\"st\">Awful<\/span> A Real Challenge.<\/p>\n<p>CSS is a lot of things. &nbsp;What it&#8217;s not is perfect. &nbsp;Far from it in fact. &nbsp;Yet in spite of it&#8217;s short comings, in spite of the inconsistent browser support, both of which cause many a designer to jump through countless hoops in an attempt to achieve a consistent layout across all browsers, it&#8217;s hailed as the ONLY method to use for all web page layout. &nbsp;Is that fair?<!--more--><\/p>\n<p>Fair or not, it&#8217;s certainly not reasonable.<\/p>\n<p>CSS has thankfully come a long way since it&#8217;s beginning. &nbsp;Fortunately so has browser support. &nbsp;Yet there are nearly as many holes in browser support as there are reasons to use only CSS for page layout. &nbsp;Some CSS features are barely, or not at all supported as of this writing.<\/p>\n<p>One of the very best additions to CSS is grids. &nbsp;How many of us have long waited for a reliable way of table-like layout to come to CSS. &nbsp;We can get close, but one of the biggest problems is in getting a CSS box or column to extend to the bottom of a page to match all of the other columns on that page, in spite of not having any content to fill the space. &nbsp;Let&#8217;s face it, this is one of the biggest issues that frustrates so many designers. &nbsp;I wrote about this problem a while back, offering a couple of solutions I&#8217;ve found that seem to work. &nbsp;Yet even those work-arounds don&#8217;t work in all cases. &nbsp;And browser support borders on insanity. &nbsp;Internet Explorer has always been one of the worst for supporting what most other browsers do including CSS. &nbsp;Even though it&#8217;s been killed off by Microsoft and replaced with something that&#8217;s no better, IE support is still a plague to the development community, because so many still use it.<\/p>\n<p>Of course there&#8217;s mobile device support, which admittedly CSS is fairly adept at handling, at least where a basic layout is concerned. &nbsp;This is where a pure CSS layout is a must, forcing us to deal with it&#8217;s many browser support shortcomings on computer screens.<\/p>\n<p>Many will argue, maybe rightfully so, that computer and browser use is on the decline as more and more people are using mobile devices on the web. &nbsp;Yet, while it&#8217;s a growing market there are many of us who still prefer a desktop experience, and also must perform our work on a desktop machine. &nbsp;This alone demands continued development in the various browsers to support the current CSS specification in full.<\/p>\n<p>When you consider the level of technology we have available to us now, the tremendous advancements over the past decade, it&#8217;s ridiculous CSS 3 does not have full browser support today. &nbsp;It&#8217;s time we all press browser developers to halt development on any new features until they first come to terms with supporting CSS 3 in full.<\/p>\n<p><span id=\"bigtext\">&lt;table&gt;<\/span> So, even though it&#8217;s taboo, strongly ill advised, shunned, and not very mobile friendly, I have personally reached the conclusion that I will no longer spend countless hours attempting to get a complex tabular\/grid layout to display properly using CSS. &nbsp;I&#8217;m going back to tables for really complex layouts until grid and flex are fully supported. &nbsp;Both properties offer a great future in page layout but that future is not now. &nbsp;Tables are not only easy and quick to layout, they allow complex layouts and always display properly across ALL browsers. &nbsp;They also display properly on mobile devices, the user just has to zoom in to read in many cases, which we all know how to do. &nbsp;My decision to do this came after fighting a complex layout in CSS for a single page for an entire day. &nbsp;Who has time to do this? &nbsp;If we&#8217;re supposed to use only CSS for layout, then make it work properly! &nbsp;I will always try CSS first but no more will I spend an entire day to only fail in the end.<\/p>\n<p>I&#8217;m certain there have been others who have also come to this conclusion. &nbsp;And I know there are those who will call us hacks and amateurs. &nbsp;That&#8217;s okay with me. &nbsp;My complex table layout loads every time, on every browser, and in far less time with far less overhead than the same layout in 100% CSS. &nbsp;You know what? &nbsp;I&#8217;m good with that!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS is Awesome Awful A Real Challenge. CSS is a lot of things. &nbsp;What it&#8217;s not is perfect. &nbsp;Far from it in fact. &nbsp;Yet in spite of it&#8217;s short comings, in spite of the inconsistent browser support, both of which cause many a designer to jump through countless hoops in an attempt to achieve a [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,30],"tags":[],"class_list":["post-826","post","type-post","status-publish","format-standard","hentry","category-css","category-web-development"],"views":1947,"_links":{"self":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=826"}],"version-history":[{"count":0,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/826\/revisions"}],"wp:attachment":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}