Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

3 column output for IE 8 using CSS

3 column output for IE 8 using CSS

Problem

Using CSS (see the CSS below) it works fine in all browsers. Unfortunately as expected it does not work within IE 8. Is their an alternative way that I can get similar 3 Column Output for IE 8?

#site-map .site-map-box {  
-webkit-column-count: 3;  
-moz-column-count: 3;  
column-count: 3;  
-webkit-column-gap: 250px;  
-moz-column-gap: 250px;  
column-gap: 250px; }
Problem courtesy of: John Mitchell

Solution

CSS3 columns are not supprted in IE8. You will be able to do this using divs however this will only be effective if your content is static.

For example:

first third of content
second third of content
third third of content

For dynamic content you will have to use javascript. I've came across this jQuery plugin online - it should do what you need.

$('#mydiv').columnize({ width: 200 , columns: 3 });
Solution courtesy of: Yotam Omer

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

3 column output for IE 8 using CSS

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×