[thelist] Mozilla bug??

Rob Schumann robs at rs-tc.com
Fri Sep 13 01:52:01 CDT 2002


Hi all,

A couple of days ago I posted a message "css problems"... since then I have narrowed it down and I think identified a bug in (at least the Mac implementation of) Mozilla 1.1 (release version).

Absolute or relative position a div and fill it with content.

Set top to 0px.

Display in Moz1.1 and all is fine. Change the top to some positive non-zero value and the bottom of the div will now lie beyond the bottom of the page as interpreted by Moz1.1. On pages where the length of content carries the bottom of the div beyond the maximum possible window depth for the screen this results in inaccessible content. The "missing" content is the same depth as the applied "top", so this offset is not being added to the depth of the page.

IE(Mac) gets this calculation right, Moz1.1(MacClassic) falls over. Not yet tested on other platforms.

Do others get the same results?? Does anyone have a workaround solution (apart from not using absolute or relative positioning with vertical offsets!).

Cheers


Rob

+================ Some code ==========================

#wrapper
    {
        position:           absolute;
        top:                80px;
        width:              600px;
        margin:             0em auto 0em auto;
        padding:            0em;
        border-left:        3px double #33c;
        border-right:       3px double #33c;
    }


and the html I'm testing with...

    <body>
        <div id="wrapper">
            <p>Qui facilisis autem eros elit illum dignissim nostrud exerci tincidunt facilisis vulputate dolore nisl consequat eum feugiat. Commodo ea wisi sed iusto euismod. Duis consequat molestie autem accumsan te esse eu dolore luptatum facilisi illum lobortis aliquip dignissim facilisis veniam, accumsan aliquam exerci. Ad duis accumsan aliquip blandit minim dolor eu ea ut feugiat dolor, consequat praesent eros. Dolor ut molestie in augue hendrerit ullamcorper euismod dolore tation eros feugiat? Et quis volutpat feugiat facilisis et eum qui dolor feugait et te, iriure feugait, ea delenit dolore qui?</p>
            <p>Quis, ex sciurus, commodo minim magna aliquam adipiscing vero. Diam in feugait et elit duis nonummy exerci lobortis aliquip, magna qui feugait eum elit? Laoreet nulla et dolore crisare facilisi duis, commodo vel luptatum nulla eu hendrerit dolore quis magna. Tation duis ut consectetuer ex?</p>
            <p>Et consectetuer iusto eu accumsan eum erat, luptatum et diam suscipit qui aliquip, eros molestie augue minim. Consequatvel, esse euismod, sit consequat, amet eu aliquip facilisi suscipit, iriure at in. Feugait nulla praesent iusto duis sit nulla et feugait? Vel velit ea minim et tation feugiat molestie iusto illum magna exerci illum nulla volutpat ut minim. Dolore esse. At duis feugiat, lobortis vel nostrud quis suscipit, luptatum suscipit, tation erat feugait dignissim duis aliquip consequat. Lobortis suscipit sed exerci laoreet consectetuer, in qui, ut enim suscipit iusto iriure dolore erat. Tation molestie duis facilisis eu iusto.</p>
        </div>
    </body>

Rob Schumann
Managing Director                   M: +66 (0)1 860 4533
RS-Tech Consulting Co., Ltd.        T: +66 (0)2 516 2991
70/592 Moo 3 Krisdanakorn 19,       F: +66 (0)2 516 4025
Klong Nung, Klong Luang,            E:    robs at rs-tc.com
Pathum Thani 12120,                    roblgs at cscoms.com
Thailand                        W: http://www.rs-tc.com/



More information about the thelist mailing list