tips

About Me

Subscribe now!Feeds RSS

Recent Posts

Related Links

Interesting Links

Web Design & Development

Need a Website?

Consequat te olim letalis premo ad hos olim odio olim indoles ut venio iusto. Euismod, sagaciter diam neque antehabeo blandit, jumentum transverbero luptatum. Lenis vel diam praemitto molior facilisi facilisi suscipere abico, ludus, at. Wisi suscipere nisl ad capto comis esse, autem genitus. Feugiat immitto ullamcorper hos luptatum gilvus eum. Delenit patria nunc os pneum acsi nulla magna singularis proprius autem exerci accumsan.

Praesent duis vel similis usitas camur, nostrud eros opes verto epulae feugiat ad. Suscipit modo magna letalis amet et tego accumsan facilisi, meus. Vindico luptatum blandit ulciscor mos caecus praesent sed meus velit si quis lobortis praemitto, uxor.

Logo / Corporate Identity

Need a Logo?

Consequat te olim letalis premo ad hos olim odio olim indoles ut venio iusto. Euismod, sagaciter diam neque antehabeo blandit, jumentum transverbero luptatum. Lenis vel diam praemitto molior facilisi facilisi suscipere abico, ludus, at. Wisi suscipere nisl ad capto comis esse, autem genitus. Feugiat immitto ullamcorper hos luptatum gilvus eum. Delenit patria nunc os pneum acsi nulla magna singularis proprius autem exerci accumsan.

Praesent duis vel similis usitas camur, nostrud eros opes verto epulae feugiat ad. Suscipit modo magna letalis amet et tego accumsan facilisi, meus. Vindico luptatum blandit ulciscor mos caecus praesent sed meus velit si quis lobortis praemitto, uxor.

Seach Engine Optimization

Need to be Heard?

Consequat te olim letalis premo ad hos olim odio olim indoles ut venio iusto. Euismod, sagaciter diam neque antehabeo blandit, jumentum transverbero luptatum. Lenis vel diam praemitto molior facilisi facilisi suscipere abico, ludus, at. Wisi suscipere nisl ad capto comis esse, autem genitus. Feugiat immitto ullamcorper hos luptatum gilvus eum. Delenit patria nunc os pneum acsi nulla magna singularis proprius autem exerci accumsan.

Praesent duis vel similis usitas camur, nostrud eros opes verto epulae feugiat ad. Suscipit modo magna letalis amet et tego accumsan facilisi, meus. Vindico luptatum blandit ulciscor mos caecus praesent sed meus velit si quis lobortis praemitto, uxor.

eCommerce

Have Product to Sell?

Consequat te olim letalis premo ad hos olim odio olim indoles ut venio iusto. Euismod, sagaciter diam neque antehabeo blandit, jumentum transverbero luptatum. Lenis vel diam praemitto molior facilisi facilisi suscipere abico, ludus, at. Wisi suscipere nisl ad capto comis esse, autem genitus. Feugiat immitto ullamcorper hos luptatum gilvus eum. Delenit patria nunc os pneum acsi nulla magna singularis proprius autem exerci accumsan.

Praesent duis vel similis usitas camur, nostrud eros opes verto epulae feugiat ad. Suscipit modo magna letalis amet et tego accumsan facilisi, meus. Vindico luptatum blandit ulciscor mos caecus praesent sed meus velit si quis lobortis praemitto, uxor.

Blog is a new way to create and update a web page. The term comes from Web Log--- on going of an observer's comments---and online diary. Written in personal tone and reflect the writer's opinion on the topics. It's organized by date with the latest posting on the top. A Blog is template driven, easy to create and update and thus makes a great way to continually add fresh content. It's a great tool to build your credibility in certain area a great method to build up an audience. While there are many blogging tools, it is suggested that you start with Blogger

Saturday, September 19, 2009
0 comments

19Sept
2009




Create Multiple Column With CSS3


Wouldn't it be great to have the text of an article is arranged over several columns just like newspaper and print layout method? And how about doing it with just simple CSS codes? The CSS3 specification has made it possible to have multi-column layout module.

Layout Module

Browser support may be patchy, but by employing CSS rule prefixes such as -moz- and -webkit- in the style sheet, a multi-column layout in website presentation is possible by defining a width for each column, or by defining a number of column.

The width is done by column-width and the number of column is done by column-count. To have space between column, we need to specify a width for column-gap.By defining column-rule, we can have a line in between columns.

One of the best features about this CSS3 module is that, the ability for content to flow from one column to another within liquid layouts.


The CSS and HTML codes for this demo:

<html>
<head>
<style type='text/css'>
.multiplecolumns {
-moz-column-width: 140px;
-webkit-column-width: 140px;
-moz-column-gap: 20px;
-webkit-column-gap: 20px;
-moz-column-count: 3;
-webkit-column-count: 3;
-moz-column-rule: 1px solid #ddccb5;
-webkit-column-rule: 1px solid #ddccb5;
border:1px solid red;
padding: 10px;
}
</style>
</head>
<body>
<div class="multiplecolumns">Wouldn't it be great to have the text of an article is arranged over several columns just like newspaper and print layout method? And how about doing it with just simple CSS codes? The CSS3 specification has made it possible to have multi-column layout module.<h2>Layout Module</h2>Browser support may be patchy, but by employing CSS rule prefixes such as -moz- and -webkit- in the style sheet, a multi-column layout in website presentation is possible by defining a width for each column, or by defining a number of column.

The width is done by <span style="font-style: italic;">column-width</span> and the number of column is done by <span style="font-style: italic;">column-count</span>. To have space between column, we need to specify a width for <span style="font-style: italic;">column-gap</span>.By defining <span style="font-style: italic;">column-rule</span>, we can have a line in between columns.

One of the best features about this CSS3 module is that, the ability for content to flow from one column to another within liquid layouts. </div>

As usual, the orange color represents the CSS codes and the blue color represents the HTML code.

With a little trick and tweak we can change the border of the layout into rounded corners.


Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean egestas blandit ipsum. Morbi nulla metus, luctus et,

Heading

Nunc ut leo vel magna adipiscing tempor. Donec pretium, ligula et hendrerit faucibus, sem velit accumsan tortor, sodales tempor est ligula non velit. Nulla sagittis, odio quis porta nonummy, mauris arcu gravida odio, quis aliquam lacus elit non libero.


This is make possible by adding these codes: -moz-border-radius: 10px; and -webkit-border-radius: 10px;

We can also change the single vertical lines that divide the columns into double vertical lines by making a little changes on the these codes: -moz-column-rule: 1px solid #ddccb5; and -webkit-column-rule: 1px solid #ddccb5;. Change the line pixel from '1' to '3' and change the word 'solid' to 'double'.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean egestas blandit ipsum. Morbi nulla metus, luctus et,

Heading

Nunc ut leo vel magna adipiscing tempor. Donec pretium, ligula et hendrerit faucibus, sem velit accumsan tortor, sodales tempor est ligula non velit. Nulla sagittis, odio quis porta nonummy, mauris arcu gravida odio, quis aliquam lacus elit non libero.


The same thing goes to border. We can change from 'solid' to 'dashed': border:1px solid red; changed to border:1px dashed red;