CSS3 Template Layout
ejohn.org
ejohn.org
This technique seems similar in spirit to how Latex defines tabular environments: http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/lat...
Disclosure: I'm not a web developer and have only done simple layouts with CSS.
Complete example:
<style type="text/css">
body {
height: 100%;
display: "a . b . c" /2em
". . . . ." /1em
"d . e . f"
". . . . ." /1em
"g . h . i" /2em
5em 1em * 1em 10em}
#logo {position: a}
#motto {position: b}
#date {position: c}
#main {position: e}
#adv {position: f}
#copy {position: g}
#about {position: h}
</style>What if I wanted to associate #logo with 'a' but wanted to offset it some. Logically I would want to do something like:
#logo { location: a; position: relative; top: 5px; }
What would the proposed way of accomplishing this be?
It's only a draft. Everything may change.
What is the purpose of this change?
Cross browser Cooperation in layout: This solution is meant to make it more standard across browsers, but it's a complete reworking of the system and it still won't guarantee cross browser functionality.
For the developer/designer: Really? I think the designers already have a pretty clear idea of how to develop with CSS. Look at the various CSS frameworks out there for column based design, that's what I think it should be based off of.
I'm not a fan.