Previous Message
Next Message

Need help killing fire fox issue

Sent by Bryce Fields on 12 April 2005 15:03


On Apr 12, 2005 9:26 AM, Paul Seale [EMAIL-REMOVED]> wrote:
> If you guys check out my blog at www.arenaofideas.org, you will notice that
> it works great in IE, but suffers badly in firefox (as in the background div
> does not want to scoot down with the content part, like it should, imo).

Paul,

The problem is actually w/ IE misinterpreting (or just out and out
ignoring) CSS specs.  It looks like you have a height : 100% declared
somewhere.  The specs say that 100% is to be 100% of the containing
block, which, depending on where it is applied can mean 100% of the
viewport.

Here's what the spec says concerning % values of height [1]:
"Percentage:  Specifies a percentage height. The percentage is
calculated with respect to the height of the generated box's
containing block. If the height of the containing block is not
specified explicitly (i.e., it depends on content height), and this
element is not absolutely positioned, the value is interpreted like
'auto'. A percentage height on the root element is relative to the
viewport."

Firefox is obeying the spec and cutting off at the bottom of the viewport.

Doesn't tell you how to fix it, but it gives you insight as to what's
going wrong, and that's a start.

REFERENCES:
[1] http://www.w3.org/TR/CSS21/visudet.html#the-height-property

-- 
Bryce Fields, Webmaster
Where I Work: Kentucky Council on Postsecondary Education
Where I Play: www.royalrodent.com

"Do or do not! There is no try!" -- Yoda
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: