terminal-auspicious

Topics

programming

php drupal scheme scheming macros design patterns da la

design

design css

random thoughts

scribbles

alter ego

other me 'em that link us my space me linked in

Collections

Programmable web
PHP design patterns

Similar things

  • 4M website revamp
  • a minor restyling of the website
  • Yet more css3 multicolumn goodness, this time for print
  • modular drupal css theme
  • A new skin for the new year
  • A major css workout
  • Another experiment
  • more css3 columns
  • scheming templates
  • Webdesign - Началото
Home » blogs » vlado's blog

In search for a flexible, space efficient layout

Submitted by vlado on Tue, 2005-11-08 11:03.css | javasccript | webdesign

Space efficient web page layout is an often desired, but rarely achieved design goal. The problem comes from one of the main side effects of the web technology - you never know how big is the screen of the viewer. Some "solutions" you might encounter are

  • old-school "best viewed at XxZ resolution"
  • fixed width layouts, centered on page - a lot of blogs use that
  • fixed width layouts, left or right aligned - have a look at the bbc website
  • using the "defect" as a design feature

You can find a lot of good examples for all of the above at the csszengarden.

So why am I writing this? Because I have to put black on white a few of the ideas I have, which I might implement, or somebody else might jump on board and do that before me. Or it might already be out there in the wild and I just don't know it.

The end goal is using the browser real estate efficiently, so that there is no unnessesary unused space, while keeping the design tidy, meaning preserving the proportions between the different design elements.

One technique to achieve it would be using floats. A problem with that is that we can't be sure of the floats height, especially in dynamic, as in server generated/serverd content. We need to allow for differences. Floats are of a value with static or rarely changed content, where we can afford paying attention to restyling. It is an approach hard or impossible to maintain.

Another approach would be to use javascript altered layouts. What do I mean by that? Consider the scenario: a website, a good well designed xhtml structure, css based layout. Everything displays well. We want it to display better, or more efficiently. Our only feasible chance to investigate the different client sizes is client-side, javascript.

We should be able to build a set of design, or restyling rules, which onload are applied to optimise the client layout according to the design goals.

The main yardsticks which should be met, paramount in a modern context (IMHO):

  • unobtrusive - the code should be out of the way, so that
  • graceful degradation of the design in the absence of javascript
  • standards compliant
vlado's blog | add new comment
Home » blogs » vlado's blog

dikini.net

spreading confusion by accident since 1970