Friday, November 4, 2011

CSS Layouts: Fixed, Fluid, Elastic

CSS Layouts: Fixed, Fluid, Elastic

Which Cascading Style Sheet (CSS) layout is best? All have their quirks and their unique pros and cons. Is one more accessible than the other? More usable? What are the drawbacks and how are they dealt with? Is one easier to create than the other? Is there an evil, inaccessible layout? I suspect some will say yes to this, but I’m not going to. I like them all and feel all are suitable if steps are taken to ensure easy usability and equal accessibility. All are part of a web site’s presentational layer, so most of the accessibility relies on the extractable semantics and proper usage of the underlying mark-up. What follows is my take on the rigid fixed, the adaptable fluid, and the expandable elastic layouts.

Fixed Width Layouts
A fixed width site is one where the main wrapper is set to a specific immovable width independent of the user agent’s display resolution. A common and considerate fixed width is 760 pixels, a size that ensures users with 800×600 resolution monitors have close to full window viewing without annoying side-scrolling. 

 
Fluid or Liquid Layouts
A fluid or liquid layout is created by not specifying a wrapper width at all or doing so using the percentage unit of measure. In other words, barring borders and padding screwing things up, a 100% width site will take up the entire view port width without producing a horizontal scroll bar.

Elastic Layouts
An elastic site’s main wrapper and other elements are measured using ems as the unit of measure. Ems are relative proportionally to the text or font size. Thus, as the text size is increased, the sections measured in ems will increase in size as well.

To download detailed Tutorial please visit
http://graphicdesigneronline.info/download-graphic-world.html

1 comment:

  1. I just started using EM on my website and
    I LOVE IT!

    It is very simple once you got the hang of it.
    I Full heartedly recommend this article: http://v1.jontangerine.com/log/2007/09/the-incredible-em-and-elastic-layouts-with-css

    It basically teaches you everything to start elastic:)

    Feel free to check my site aswell, the Elastic Theme will be up at 26-06-2012:
    vanilla-guides.com

    ReplyDelete

About Me

My photo
You will surely enjoy viewing our designs as much as we enjoyed creating it. Since the past decade, we worked with some of the top Corporate Giants, Print and Publicity Firms, Marketing Tycoons, Buisness Enterprenuers, Consumer Quenchers, Fashion Frontiers, Tech Savvy Netizens and Design Appraisers as well. Most of the graphic designers, web designers and even high-end programmers face crisis in today's market due to cut-throat competition and risky market trends. But we are the one whom you can Trust, both in terms of economic sane and quality orientation, because we are confident that we have an eye for imagination and we will showcase the best-in-class output to our valued clients, in time. In short, we don't want our customers to compromise with the quality which they deserve and prefer. visit our Portfolio. www.activecomputech.com/portfolio.html

Followers