{"id":27,"date":"2008-12-14T14:55:19","date_gmt":"2008-12-14T19:55:19","guid":{"rendered":"http:\/\/www.blizzarddigital.com\/blog\/?p=27"},"modified":"2010-04-18T19:48:45","modified_gmt":"2010-04-18T23:48:45","slug":"logical-structures-and-happy-designers","status":"publish","type":"post","link":"https:\/\/www.blizzarddigital.com\/blog\/logical-structures-and-happy-designers\/","title":{"rendered":"Logical Structures and Happy Designers"},"content":{"rendered":"<p>While valid markup and CSS are necessary, they&#8217;re not the only things we web designers\u00a0require to keep our sanity. One can create a valid page that is still difficult to work on. For example, using absolutely positioned elements for page layout is even worse than just using tables. When you add content to one element, the ones below it are not pushed down because\u00a0they are no longer\u00a0in the &#8220;flow&#8221; of the page.\u00a0This causes overlap of content and\u00a0makes it extremely difficult and frustrating to add anything to the page. Utilities such as Yahoo! SiteBuilder create pages like this.<\/p>\n<p>A markup structure that is built to logically represent the content of the page and not to facilitate the appearance of the page is much more\u00a0easily edited and future-proof than the &#8220;HTML soup&#8221; sites of old. I wistfully say &#8220;old&#8221;, but the truth of the matter seems to be that HTML soup is still the preferred meal of the majority of so-called web designers. A lot of the web sites we&#8217;ve moved to our servers are a pain to work with and rarely validate,\u00a0and they were, sadly,\u00a0created by professional web designers!<\/p>\n<p>Another couple things that\u00a0are bad practice but not invalid\u00a0are the use of inline style and CSS classes with names that tie them to a particular stylesheet such as &#8220;red-text&#8221; or &#8220;left-side&#8221;. What if you change the stylesheet some day and that &#8220;red-text&#8221; is now supposed to be blue or the &#8220;left-side&#8221; spans the bottom of the page? The World Wide Web Consortium\u00a0themselves discourage the <a href=\"http:\/\/www.w3.org\/QA\/Tips\/goodclassnames\">naming of CSS classes<\/a> like this.\u00a0They also\u00a0have some other\u00a0<a href=\"http:\/\/www.w3.org\/QA\/Tips\/\">useful tips<\/a> that all web designers should read and keep in mind.<\/p>\n<p>If you&#8217;re a fledgling web designer or perhaps\u00a0someone who is just looking into having a web site created and wondering what valid code and good design practices can do for you, check out the <a href=\"http:\/\/www.csszengarden.com\/\">CSS Zen Garden<\/a> site, an excellent\u00a0example that is logically structured and able to accept stylesheets of wildly different appearances without the need for markup changes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why markup structure that is built to logically represent the content of the page and not to facilitate the appearance of the page is much more easily edited and future-proof.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[20,22,21,6,19],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-web-standards","tag-css","tag-validation","tag-w3c","tag-web-design","tag-xhtml"],"_links":{"self":[{"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":7,"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":29,"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions\/29"}],"wp:attachment":[{"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blizzarddigital.com\/blog\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}