richard wrote:
> hello!

Hi :-)

> i'm trying to make a layout where my left div is a fixed 160px
> width, and the main div will be sized with all the rest
> available width of the screen. in firefox 1.5 my css is
> allright, but when i test it on windows ie 6 it doesn't
> work...   
> this is the css:
> -------------------
> #esquerda
> {
>  width:160px;
>  height: 100px;
>  position: absolute;
>  left: 15px;
>  top: 15px;
> }
> 
> #direita
> {
>  position: absolute;
>  top: 15px;
>  right: 15px;
>  left: 177px;
> }
> ----------------------
> how can i make my div #direita be auto-sized to the right of
> the screen on ie? 


rewrite the above to:
#container{
margin:15px;
}
#esquerda{
float:left;
width:160px;
}
#direita{
margin-left:160px;
}

combined with html:

<div id="container">
    <div id="esquerda">
    </div>
    <div id="direita">
    </div>
</div>

-- 
Els
http://locusmeus.com/
http://locusoptimus.com/


______________________________________________________________________
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