Tuesday, December 22, 2009

Perfect multi-column CSS liquid layouts - iPhone compatible

This series of website layouts use percentage widths and relative positioning, and they work with all the common web browsers including Safari on the iPhone and iPod touch. They're also 'stackable' so you can use multiple column types on the one page. This makes the number of possible layouts endless! Follow the links below for the demos and more detailed info:

The main features

  • No CSS hacks
  • iPhone & iPod Touch compatible
  • SEO friendly
  • Full length column background colours
  • No Images
  • No JavaScript
  • Resizable text compatible
  • Stackable columns
  • FREE for anyone to use

The layout demo pages

Overcoming cross-browser CSS issues

CSS can be tricky business particularly when you are trying to create complex liquid layouts for your websites (the hardest of all). To make matters worse, your design must work properly in a large number of browsers and operating systems. This can be a real headache because the numbers multiply out into dozens of combinations that need checking.

CSS hacks are bad

Because every browser has its own quirks, many people use hacks to overcome the little problems that arise. This has worked well 'til now but the number of browsers is growing and so too are the unexpected side effects of these hacks. In many instances a hack fixes a problem in one browser but creates a new bug in another. Also when a new version of a browser comes out, any bugs that are now fixed will still cause problems because the old hacks are trying to fix a problem that's not there anymore.

Only use cross-browser CSS

The solution is to keep things simple and only use CSS that works in all browsers. One of the main things to avoid is horizontal margins, padding and borders on elements with a specified width. This causes big problems for Internet Explorer because of it's broken box model. Unfortunately we can't simply ignore IE because it's the most widely used browser on the internet. If only everyone used Firefox!

Labels: ,



1 Comments:

At January 13, 2010 at 2:58 PM , Blogger surya said...

visit http://www.a2zhacks.blogspot.com for more webanalitics tools & websites. and to know more regarding how to increase traffic on you blog/ website
and to know how to earn money form internet for free you may join

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home