David,

Not sure why people were entirely opposed to the outer container being a
fixed width, but with IE not supporting min-width and not wanting a
Javascript solution, we purposely used percentages on divs within the fixed
outershell to be flexible within the context of the client's demand that the
page accommodate an 800 by 600 screen and the designer wanting it fixed.
Should we change the outershell we'll have some flexibility still. And we're
able to change percentages in the three faux columns easily using our
percentages to create various column width layouts and turning columns on or
off with the percentages then kicking in nicely to make up for the removal
of one column. We purposely didn't set padding and margin on the structural
column divs. (we successfully took the site from a table-based layout to
table-less except for tables of data)

Thanks for your feedback it encourages us in our decision

-TGA

From: David Hucklesby <[EMAIL PROTECTED]>
Date: Sat, 21 Oct 2006 20:35:02 -0700
Subject: Re: [WSG] Percentages

On Mon, 16 Oct 2006 21:06:11 -0400, TomGou wrote:
> I'm not a CSS newbie, and not a CSS Pundit either. What I'd like to
> know, is there anything inherently wrong with using percentages for
> a three column floated layout?
>
> Say my outermost container is 720px wide, is it problematic if the
> column div widths are 23%, 52%, and 25%
>

Dissenting only a little from other replies, I would suggest using 
percentages that add up to just shy of 100%. 99% may do, but
test thoroughly.

Reason for using percents for fixed width layout? Should you decide
to change the width, or make it ems or whatever, you won't need
to recalculate the individual widths.

Avoid putting margins or padding on these columns. If you need either,
put them on the elements or an extra DIV inside the structural 
containers.

To answer you directly - No, I see nothing wrong at all.

Cordially,
David
--
www.hucklesby.com






*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to