Sent by Bob Easton on 14 January 2006 14:02
Richard Brown wrote:
> Hi All
>
> I recently tried mixing fixed and flexible widths on a site:
> #leftcol {
> width: 200px;
> }
> #wrap {
> width: 76%;
> }
> #nav {
> width: 200px;
> }
> #content {
> width: 68%;
> }
> But it didn't work! Surprise, surprise!
> Am I allowed to mixed fixed and flexible widths by this method:
> #wrap {
> width: 25%;
> }
> #leftcol {
> width: 200px;
> }
> #nav {
> width: 200px;
> }
> #content {
> width: 75%;
> }
>
> The reason I would like to use a flexible/fixed width method is because
> I would like to have three columns:
> Left Nav Content
> The left and Content columns would be one colour and the Nav column
> would split them up with another colour, extending the full length of
> the column. Is it possible to have an image that extends the full
> length of the column when using a flexible layout please?
>
> Many thanks for the help.
These CSS declarations mean nothing without the HTML. Correctly nested,
they might work, but it is impossible to know without understanding the
layout you are trying to achieve. You mention 3 cols, left, nav,
content. What is wrap, and why 25%. Content is 75% of width in relation
to what? ... the entire viewport, or part of whatever it is inside of?
--
Bob Easton
Accessibility Matters: http://access-matters.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/