Pages

Showing posts with label css. Show all posts
Showing posts with label css. Show all posts

Monday, August 25, 2008

CSS 3 Column Blog Style Liquid Layout

There are tonnes of method can be done to achieve this 3 column blog style layout, but I found a CSS layout from Matthew James Taylor and want to keep this as my reference because of its simplicity and straight to the point. So maybe you want to take a look.

Basically this is what we're trying to achieve with this CSS layout design:As shown above the center and right column widths are in pixel and the left column is the main content area will control the page height.

Update:
Since the author himself (Matthew James Taylor) found out about this page and ask to link back to his work rather than I post the CSS code here as "my own reference" well I respect that and remove the source totally. But using the word "steal" seems a little bit harsh here, I rather called it an open source. Beside this blog not even mine, it's Google's. I just put in some words. The author also said something like "some minor cosmetic changes". It's an indicator that I spent some amount of time to test out and verify each line of CSS code, print screen it and post it here. Not just simply put all the source. Beside it's just another CSS layout, the author might claiming all 3 columns layout website or patent the 3 columns website in a future as his invention. Yikes!! In the event of the author's hosting server under maintenance or out of service (some personal website has this problem), I post a copy of the code anyway.

Wednesday, November 01, 2006

CSS Layout - Back to basic


For the past 5 years I created numerous of websites, some are simple, others cause me restless night and part of the job may require CSS layout design. It sounds not so important, unfortunately it does. For the past few years, SEO has become part of the design requirement and it helps a lot on pushing the content and boost the page rank.

Instead of starting out with blank CSS and HTML documents every time you need to build a layout, you can create a bunch of layout templates as it will give you a solid basis for creating the rest of the design.

You can create 2 column layout, 3 column layout, centered, fixed and others. You may explore other possibility from this CSS website.

These templates can be really basic, in fact that is exactly what you want as the final design. The fonts, the colours and so on will be different every time. It’s just the main sections we want to be able to quickly get into place.

As for example, here is a sample of my most common CSS layout:

1. The HTML page
2. The CSS file

Since I can't find a way to post the source code in this Blogger entry, I make you life easier by posting a zip file using the online storage service by esnips.