Fluid 3 column layout with

CSS header footer

After fiddling around a while I found a solution that works in >IE7, Chrome, Firefox:

* { margin:0; padding:0; } html, body { height:100%; } #wrap { min-height:100%; } #header { background: red; } #content { padding-bottom: 50px; } #footer { height:50px; margin-top:-50px; background: green; }

HTML:

header

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet.

See also:
  • keluaran hk
You might also like
Bordas Arredondadas Sombras Header Article E footer Em css
Bordas Arredondadas Sombras Header Article E footer Em css ...
CSS & JavaScript Toolbox - Header, Footer and Shortcodes
CSS & JavaScript Toolbox - Header, Footer and Shortcodes
Make Content Page header footer using Arsslan CMS HTML CSS PHP
Make Content Page header footer using Arsslan CMS HTML CSS PHP
Sammons preston Sammons preston Library of Early/Emergent Vocabulary Photographs
Health and Beauty (Sammons preston)
  • This listing is for Library of Early/Emergent Vocabulary Photographs
  • Qty : 1 Kit.
  • COMPLETE PROGRAM: 280 full-color Cards, Divider Cards, Information Booklet, and Index, all in a sturdy Storage Box. (©2001)
  • The cards are printed on quality cards stock with a protective varnish coating, designed to last for years. You ll find yourself reaching for this versatile program...
  • The photos are grouped into 17 convenient categories that represent important aspects of a young child s life. Categories include: Animals, Foods, Occupations, Toys...
Related Posts