CSS layouts and layout tutorials
CSS layouts offer tried and tested web site layouts to use as the framework for developing web site presentational structure.
- See also: CSS templates
- css layout tutorials and examples
- Three Column Fluid center
-
A List Apart - Holy grail layout
Three column layout. One fixed-width sidebar for your navigation, another liquid and a liquid center.
-
Strictlycss.com - 3 col fluid rounded content corners
A three column fluid CSS layout: 100% height + 100% width and rounded content corners. This is a layout that is fluid (100% width), has a height of 100% and rounded content corners. There's also Three column fluid CSS layout with faux columns and 100% height.
-
Pixy.cz - 3-col layout
No absolute positioning (no positioning at all), no hacks, same height of all columns. The left and right columns have fixed width (150px), the middle one is liquid. Any margin of the body may be used. It works in any modern browser.
-
A List Apart - negative margin layout
Creating liquid layouts with negative margins. Includes three faux column layout.
- Three Column Fixed
-
Yaml.de - 3 col fluid rounded content corners
Fixed three column layout with middle column first in source order.
- Elastic layout
-
A List Apart - Elastic Design
A commentary on the advantages and pitfalls for using an elastic layout. There's another demo with another tutorial here: jontangerine.com
-
Gunlaug.no - Liquid / Elastic Layout
A liquid layout where the width also adjusts like an elastic layout when text size is increased. Internet Explorer 6 has IE-expressions for 'max-width' relative to User's font-size. Layout is fully liquid within the limits of given 'min-width' and 'max-width' values.
- Other layout types
-
Positioniseverything.net - One true layout
A CSS cross-browser layout solution with total layout flexibility, equal height columns and vertical placement of elements across grids/columns.
-
Uwmike.com - A different liquid layout
Liquid layouts which are halfway between a liquid and a solid. It doesn't expand in a way directly proportional to the width.
-
Ddezinerfolio.com - dfFlexiGrid
JavaScript and CSS based 3 column layout. Variety of Layouts from 100% liquid to a custom defined stage. Toggle between states with smooth transition effects (remove columns, adjust dimensions). Retains the layout on all pages of the site (cookie based). Miniature stand-alone JS (5555 bytes).
- css layout collections
-
Ironmyers.com - CSS Layouts
A variety of layouts with full Grade-A browser support and SEO Optimization.
-
Saila.com - Liquid layouts
A liquid, three-column layout which works in Netscape 4.x.
-
TJKDesign.com - Liquid layout
Eight liquid layouts for one html content page. Uses faux colums and no hacks.
-
Matthewjamestaylor.com - iPhone Layout
No CSS hacks, iPhone & iPod Touch compatible, SEO friendly, Full length column background colours, No Images, No JavaScript, Resizable text compatible. 3 Column (Holy Grail) Liquid Layout, 2 Column Liquid Layout (Left Menu, Right menu, 50%) and Multi-Column Stacked Liquid Layout.
-
CSSPlay.co.uk - CSS Layouts
A variety of different layout solutions.
-
Blog.html.it - Layoutgala
40 layouts based on the same markup, each with valid CSS and HTML, without hacks nor workaround and a good cross-browser compatibility.
-
Ruthsarian - Layouts
A range of liquid layouts that cover all the basic necessities and a few more.
-
Yaml.de - YAML
Yet Another Multicolumn Layout. A robust multicolumn liquid layout with examples of positioning of a variety of elements such as images and lists.
-
Thenoodleincident.com - Box Lessons
A series of CSS Boxes going from a simple single box, through 3 columns with a full width top box, elucidating browser bugs and the solutions needed.
- frames without frames
-
AlexCSS - Frames without frames
How to recreate all the goodness of frames with not a frame tag in sight. Using width expression in quirksmode to work in IE.
- CSSplay.co.uk - Stu Nichols' CSS frame emulation
-
456bereastreet.com - CSS frames
CSS Frames v2, full-height. This uses top: expression and clientHeight on the documentElement for IE6.
- resolution dependent layouts
-
Themaninblue.com - Resolution dependent layout
Using Javascript to create a dynamic layout dependent on the size of the browser window.
-
Robocup.de - Adaptive page layout
Making web page layout adaptive with respect to the size of the browser window using onresize and three potential layouts.
-
Webdesign.html.it - Progressive layout
Using Javascript to turn a fixed or fluid CSS-based layout into a progressive one.
-
Brandspankingnew.net - Dynamic layouts + adaptive columns
Accessible, semantic, well-formed XHTML mark-up with gracefully deprecating Javascript to adapt CSS to the resolution.
-
Alistapart.com - Resolution dependent layouts
As we use a wider range of devices to access the web, we need more powerful and flexible ways of managing layout. Using JavaScript to serve devices whose viewports range from 240 pixels to about 1680 pixels.
