Ehsan Mahpour’s Weblog

Perfect CSS Columns with DIV tag

by mahpour on Oct.16, 2006, under HTML/CSS Tips

So many times I was looking for a good reference to create my multi column page layouts using DIV tags with floating technique.By using each method I had some problems with different mass of contents in columns, but this one was the best solution to create same height multi columns pages using div tag.

/* Start Mac IE5 filter \*/
#block_1, #block_2, #block_3 {
padding-bottom: 32767px !important;
margin-bottom: -32767px !important;
}
/* End Mac IE5 filter */
#wrapper{
overflow: hidden; /* This hides the excess padding in non-IE browsers */
}

Please leave your comments if you know a better reference.


Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...