|
|
 | | From: | extrapolator | | Subject: | page rendering with inline css | | Date: | Tue, 18 Jan 2005 14:15:56 -0500 |
|
|
 | chops off the bottoms of letters. The page looks good in three other browsers, MSIE, FF, and OB1.
The culprit looks like the minus sign in "-5px".
When I edited this to:
and did a reload from cache, the page looked good.
Is Opera the only one that understands what a minus sign mean in the css style definition?
-- http://www.xenodochy.org/ralph.html Using the Opera Mail 8:00 build 7401 email client under W2K Prof
|
|
 | | From: | Eik | | Subject: | Re: page rendering with inline css | | Date: | Tue, 18 Jan 2005 19:49:20 -0000 |
|
|
 | On Tue, 18 Jan 2005 14:15:56 -0500, extrapolator wrote:
> chops off the bottoms of letters. > The page looks good in three other browsers, MSIE, FF, and OB1. > > The culprit looks like the minus sign in "-5px".
Yes, it's because it's being used at the bottom of a table cell and there is nothing below it before the next row.
Opera seems to be honoring the negative margin by bringing up the edge of the table cell by 5px and clipping the paragraph. If it was a normal block of elements then the text would simply overlap by 5px. The other browsers probably do nothing with any negative margin that appears at the bottom of table cells or allow the content to spill out, but that sort of defeats the point of tables. Not allowing negative margin to have an effect at the edge of a table cell may be better way of handling it rather than clipping.
There's nothing in that page that needs to mix paragraphs and tables for layout, anyway.
-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|