HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
3 column templates
Post new topic   Reply to topic    HTML Help Forum -> CSS
View previous topic :: View next topic  
Author Message
gary.newelluk



Joined: 12 May 2005
Posts: 552
Location: Inverurie, Scotland

PostPosted: Sat May 21, 2005 1:57 pm     3 column templates Reply with quote

Ok so here it is......

I designed a great template using pure CSS and strict DTD and it works a treat on all the major browsers except my old adversary Firefox....

I have tried other peoples so called liquid CSS templates and they are all flawed leaving me to believe that tables really are the only way to go if you want a 3 column display on firefox.

I have tried all the major websites that use 3 columns and they all use tables.

Can anyone really recommend a 3 column liquid template using pure CSS?

I have searched google and a lot of the template sites and have only found flawed designs.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Sat May 21, 2005 2:11 pm     Reply with quote

You might try the guys and gals over at International Web Developers Network
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Sun May 22, 2005 3:33 am     Reply with quote

I've had no probalem using three columns in Firefox

http://www.degs.co.uk/test/css/cssLayout/3column.htm
gary.newelluk



Joined: 12 May 2005
Posts: 552
Location: Inverurie, Scotland

PostPosted: Sat May 28, 2005 2:08 pm     Reply with quote

A fluid template can have all three columns the same size as you would get from a table layout.

Therefore the left menu bar would always be the height of the middle and right hand column.

Similarly each can have independant colours, text, images etc.

Your template does indeed work on Firefox Degsy but the left menu bar and right column are independant from the centre meaning that the heights of each column will be different thereby not making it a truly fluid 3 column template.

I can get 2 columns to work easily but 3 columns, bit of a challenge and I still use tables for a 3 column template whereby all 3 columns need to be the same height. (Usually for Magazine style layouts where there is a border around the whole template and margins around the outside).

I think this is why all templates for popular CMS systems such as mambo and postnuke use tables as opposed to CSS.

Feel free to prove me wrong, I'd love to know the answer to this conundrum.
jchris



Joined: 15 Aug 2005
Posts: 1

PostPosted: Mon Aug 15, 2005 10:48 am     3 column layout - no horrible tables Reply with quote

http://mfdz.com


this took a while to work out, but css is pretty happy to help here. the trick is using percentage widths for the columns, and leaving enough leftover percentage so that margin and padding can add up and still not cause one of the columns to slide down.

<a href="http://mfdz.com/jchris">Chris</a>
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial