Don Hinshaw wrote:
> The only thing I see that I don't like is that the select menu shoots
>  out over the right column in FF/Win.

> http://tinyurl.com/ajor7

> Is there some way to make #maincontent expand to accomodate the menu 
> as it does in IE? I like the name, though ;-)

Add 'new block formatting contex' at the right places..?

I don't know how many browsers/versions that'll play nice with this, but
the additions below make Firefox 1.5+ and Opera 8.5+ doing a better job
than IE.

#wrap {
        width: auto;
        margin: 0;
        position: relative;
        float: left; /* added for Firefox */
}

html:first-child>body #wrap {
        display: table; /* added for non-Gecko */
}

#main {
        width: auto;
        margin: 0 200px;
        display: table; /* added for all good browsers */
}

Warning: The hack in the middle above is complete nonsense. Wouldn't
work in Firefox without it though.

CSS sure is fun at times ;-)

regards
        Georg

[1]http://www.w3.org/TR/CSS21/visuren.html#q15
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to