Welcome to WebmasterWorld Guest from 54.160.198.60

Forum Moderators: not2easy

Message Too Old, No Replies

My holy Grail: CSS 3column layout

Can CSS be used to accomplish this

     
11:28 pm on Sep 19, 2007 (gmt 0)

New User

5+ Year Member

joined:Sept 1, 2007
posts:12
votes: 0


< I've seen > a site with a three column layout done with tables, i am trying to acheive this using CSS.

My main criteria is that the content areas do not overlap even when the user presses ctrl_key+plus_key to zoom into the page. Notice how the whole site just zooms and the scroll is added as the font size increases.

All suggestions welcomed.

Thanks in advance.

< no example urls.
See Posting Guide [webmasterworld.com] >

[edited by: tedster at 4:08 am (utc) on Sep. 20, 2007]

12:37 am on Sept 20, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 4, 2001
posts: 2176
votes: 15


Do a web search for "faux columns" and you will find exactly what you are looking for.

Marshall

10:37 am on Sept 20, 2007 (gmt 0)

New User

10+ Year Member

joined:May 16, 2005
posts:29
votes: 0


Or, do a search for 'glish', there are a few templates there you can use as a starting point.
5:03 pm on Sept 20, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 26, 2004
posts:3159
votes: 15


This is the current maximum support for CSS3 multiple columns. Hopefully Opera 10 and IE8 will add support though we can only hope. :)

Gecko - CSS

div.mcol {-moz-column-count: 2;}

Gecko - XHTML
<div class="mcol"></div>

Webkit - CSS

div.mcol {
-webkit-column-count: 2;
-webkit-column-rule: 2px dotted #222;
}

Webkit - XHTML
<div class="mcol"></div>

- John

2:45 pm on Sept 21, 2007 (gmt 0)

New User

5+ Year Member

joined:Sept 1, 2007
posts:12
votes: 0


Thanks a million for your responses guys. I ran a couple of searches and i think i am going to work with a design i saw outlined in a book, using faux columns.

To the admins:
Sorry about the example link.

2:58 pm on Sept 21, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 13, 2002
posts:662
votes: 0


There's also a handy online tool called layoutomatic to quickly generate a 3 column layout.