Difference between revisions of "User:Wvengen@nikhef.nl/Web design:Flexible layout"

From PDP/Grid Wiki
Jump to navigationJump to search
(fix links)
m
Line 1: Line 1:
While [http://www.w3.org/TR/CSS CSS] and [http://www.w3.org/TR/xhtml1 XHTML] have brought much good, it can still be troublesome to create a desired page layout. When creating web applications, it's often desirable to have it scale properly to the user's browser size.
+
While [http://www.w3.org/TR/CSS CSS] and [http://www.w3.org/TR/xhtml1 XHTML] have brought much good, it can still be troublesome to create a desired page layout. When creating web applications, for example, it's often desirable to have it scale properly to the user's browser size.
 
In GUI toolkits (like [http://www.gtk.org/ GTK], [http://en.wikipedia.org/wiki/Swing_(Java) Swing] and many more) there is the concept of layout containers, which distribute the available space over its children in a pretty sensible manner, with preferred sizes and min/max criteria.
 
In GUI toolkits (like [http://www.gtk.org/ GTK], [http://en.wikipedia.org/wiki/Swing_(Java) Swing] and many more) there is the concept of layout containers, which distribute the available space over its children in a pretty sensible manner, with preferred sizes and min/max criteria.
When [http://www.w3.org/TR/css3-values/#calc CSS3's calc()] arrives, this will be possible on web pages as well, to some extent. For now, we have to resort to other means.
+
Currently it is not easily possible, but when [http://www.w3.org/TR/css3-values/#calc CSS3's calc()] arrives, there may be a clean solution. For now, we have to resort to other means.

Revision as of 09:51, 5 August 2009

While CSS and XHTML have brought much good, it can still be troublesome to create a desired page layout. When creating web applications, for example, it's often desirable to have it scale properly to the user's browser size. In GUI toolkits (like GTK, Swing and many more) there is the concept of layout containers, which distribute the available space over its children in a pretty sensible manner, with preferred sizes and min/max criteria. Currently it is not easily possible, but when CSS3's calc() arrives, there may be a clean solution. For now, we have to resort to other means.