Previous Message
Next Message

Re: [css-d] How to replaces tables/frames with CSS?

Sent by Brad Cox on 30 January 2002 08:08


I was wondering about that! But what I actually want is for the 
left column to be absolute, not a percentage, and for the right 
to take up the remainder. Any hope of that?

On Tuesday, January 29, 2002, at 03:38 AM, Mark Howells wrote:

>>> Actually, this will work.  I forgot I had already done this 
>>> once before:
>>
>> <snip>
>>>
>>>   #left {
>>>     position: relative;
>>>     float: left;
>>>     width: 20%;
>>>     background-color: gray; }
>>>
>>>   #main {
>>>     position: relative;
>>>     float: right;
>>>     width: 80%;
>>>     background-color: red; }
>> </snip>
>
> Almost perfect in IE5/Mac, except you need to make the total 
> less than 100% or the 'main' box drops below the 'left' box 
> (though it still floats right). Using values of 20% / 79.9% 
> works ok.
>
> Regards
> Mark Howells
> <http://www.mark.ac/css/>
>
> _______________________________________________
> css-discuss mailing list
> [EMAIL-REMOVED]
> http://two.pairlist.net/mailman/listinfo/css-discuss
>
>
Brad Cox, Ph.D.; [EMAIL-REMOVED] 703 361 4751
For industrial age goods there were checks and credit cards.
For everything else there is http://virtualschool.edu/mybank
Java Web Application Architecture: http://virtualschool.edu/jwaa
Previous Message
Next Message

Message thread:

Possibly related: