background preloader

In Search of the Holy Grail

In Search of the Holy Grail
I’m sorry. Really. I didn’t name it. I don’t mean to overstate its importance or trivialize the other and rather weightier Holy Grails. Article Continues Below But the name’s out there, and we all know what it means. Three columns. Many articles have been written about the grail, and several good templates exist. A recent project has brought my personal grail quest to an end. have a fluid center with fixed width sidebars,allow the center column to appear first in the source,allow any column to be the tallest,require only a single extra div of markup, andrequire very simple CSS, with minimal hacks patches. On the shoulders of giants#section1 The technique presented here is inspired by Alex Robinson’s brilliant One True Layout. Another lead came from Eric Meyer’s adaptation that uses positioning to mix multiple unit types. Enough talk—let’s see some code#section2 The required HTML is intuitive and elegant. That’s it. The stylesheet is almost as simple. Take a look and marvel at the elegance.

http://alistapart.com/article/holygrail

Related:  Coderules to code a websitetips

Some Gotchas That Got Me In my head the viewport is the initial containing block, not something else, but there’s a bug open for Chrome, and apparently the spec language needs clarification. Personally I’d make position: fixed viewport-centric, because I think its current behavior is a little bonkers and I’m not sure the spec language is vague, but maybe I missed something. Here’s a demo of borked fixed positioning, in case you want to see it for yourself. Fighting the Space Between Inline Block Elements I've seen this come up a couple of times lately on Twitter and then an interesting Dabblet so I figured it would be an important thing to document. Here's the deal: a series of inline-block elements formatted like you normally format HTML will have spaces in between them. In other words:

Strong Layout Systems by Eric Meyer Eric is at An Event Apart in Atlanta talking about Strong Layout Systems. Following on from Brother Jeffrey’s presentation, he begins with a reading… In the beginning Sir Tim created the server and the browser. And the web was without form. And the face of Tim moved over the web. Introduction to the Data Visualization Tutorial – New Coder Data visualization is quite fun. Perhaps when you think of data visualization, you think of ugly Microsoft Excel spreadsheets with half-a$$ed graphs. This tutorial is meant to push you out of the Excel mindset just a little bit, and introduce you to the popular Python library, matplotlib. The Project Holy Grail Layout — Solved by Flexbox — Cleaner, hack-free CSS At its core, the Holy Grail Layout is a page with a header, footer, and three columns. The center column contains the main content, and the left and right columns contain supplemental content like ads or navigation. Most CSS solutions to this problem aim to meet a few goals: They should have a fluid center with fixed-width sidebars.The center column (main content) should appear first in the HTML source.All columns should be the same height, regardless of which column is actually the tallest.They should require minimal markup.The footer should “stick” to the bottom of the page when content is sparse. Unfortunately, because of the nature of these goals and the original limitations of CSS, none of the classic solutions to this problem were ever able to satisfy all of them.

An Introduction to Meta Viewport and @viewport Introduction Support for the viewport meta tag in Opera’s mobile products has been around for quite some time, and from Opera Mobile 11 onward, we have made our viewport implementation more robust, added support for new mechanisms to deal with different screen densities, and included an implementation of our own CSS @viewport rule proposal. In addition, Opera Mini 6 and later now also comes with basic support for the viewport meta tag. So, what better time than now to give you an introduction to the various viewport-related mechanisms you can use to optimize your site for mobile? Let’s get started! Web page handling by mobile browsers Web Standards D3 is built on top of several common web standards. Don’t worry if you don’t know all the nitty-gritty details of these standards, you can pick this stuff up pretty quickly. HTML (HyperText Markup Language) is a text format that most web pages are written in. HTML uses a standard set of tags to define the different structural components of a webpage: <h1>, <h2>tags define headers, <p> tags define paragraphs, <ol> and <ul> are orderered and unordered lists. Browsers have common ways to display these tags, so lists show up like lists, and headers like headers. The <div> and <span> tags are special because browers don’t apply default styles to them, so HTML authors can use them to define custom groups.

background-size The background-size property in CSS is one of the most useful — and most complex — of the background properties. There are many variations and different syntaxes you can use for this property, all of which have different use cases. Here’s a basic example: CSS - media queries "Responsive Design" is the strategy of making a site that "responds" to the browser and device that it is being shown on... by looking awesome no matter what. Media queries are the most powerful tool for doing this. Let's take our layout that uses percent widths and have it display in one column when the browser is too small to fit the menu in the sidebar: Now when you resize your browser it's even cooler than ever!

Cannot share calendar with permissions other than "See only free/busy" Hi, tried a hundred ways to fix it! and the only thing that helped me was add a new Calendar to google's calendar so now I have 2 calendars myu...@mywebsite.com and other called "Events" and now I can share al the info with anyone in internet. so now you have to: (this is a fix if you wnat share the calendar with anyone that can find the link (public calendar)) is not the way that I wanted but works. 0. delete the cache on your browser (just for be sure) 2. HTML5 header Element The HTML5 header element is used to semantically mark the header section of a page, or of individual parts of the page. For instance, a page containing a list of blog posts or articles may have a header section for the whole page, and a header section for each blog post / article. Here is a diagram illustrating where the header section of a HTML5 page is normally located:

Related: