Previous Message
Next Message

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

Sent by Andrew Clover on 30 January 2002 09:09


Mark Howells [EMAIL-REMOVED]> wrote:

> 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.

The same happens in IE/Win - at least when the window is an odd number of
pixels wide. IE rounds the size of each div up to the nearest pixel, so
the total wide is one pixel more than the width of the window. (argh.)

I've found a margin-right of -1px fixes the problem nicely.

-- 
Andrew Clover
[EMAIL-REMOVED]
http://and.doxdesk.com/
Previous Message
Next Message

Message thread:

Possibly related: