Re: wc3 error

From: Steve Pugh (steve_at_pugh.net)
Date: 05/19/04


Date: Wed, 19 May 2004 14:45:07 +0100

Steve Pugh <steve@pugh.net> wrote:
>>"Terje Sæternes" <terje@cyberfactory.no> wrote in message
>>news:I%Hqc.2432$eH3.50957@news4.e.nsc.no...
>
>>> Thanks, all errors gone, BUT why wont the 100% height table display
>>> correct in Opera? It works fine in IE. And yes I've set the tableheigt in css with
>>> this code: .hovedtabell{BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;
>>> BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none; height: 100% }
>
>Without seeing the whole of the page it's impossible to say but I'd
>hazard a guess that the table is the only thing in the page? And that
>the height of the content inside the table is less than the height of
>the browser window? So 100% in that case would be 100% of the height
>of the parent which is body, and 100% of the height of body is the
>height of the content, so round in circles we go.

Hmm, actually, which versions of IE and Opera are you using?
IE6 and Opera 7.5 behave identically in both quirks and standards mode
(i.e. in quirks mode they get it wrong and make the table the height
of the window, whilst in standards mode they get it right and make the
table only as high as its contents).

So I'm guessing that either your actual code is more complex or you're
using IE5.x and Opera 7.x with a doctype that triggers standards mode
in the latter.

        Steve

-- 
"My theories appal you, my heresies outrage you, 
 I never answer letters and you don't like my tie."  - The Doctor
Steve Pugh        <steve@pugh.net>        <http://steve.pugh.net/>


Relevant Pages

  • Re: Border at top of the page
    ... Firefox and relatives suppress the top margin of several elements in certain contexts. ... There is nothing quirky in browsers' "traditional" behavior, and there was no need to change it in the standards mode. ... It's just as mad as it would be to start using Arial as default font in standards mode and keep using Times New Roman in quirks mode. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Check whether browser is in quirks or standards mode?
    ... you might want to check first whether it triggers ... quirks or standards mode. ... Most decent browsers, View Page Info ... Quirks mode is basically a matter of simulating bugs in old versions of IE, so it would be rather relevant to consider IE, too. ...
    (comp.infosystems.www.authoring.html)
  • Re: How do I center divs in IE?
    ... All browsers treat quirks mode mode differently, a great reason to use standards mode by starting with the right doctype. ... In general standards mode treats widths as the width of the content, where quirks modes includes padding and borders in determining widths. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: IE 8 refuses to honor in "standards" mode, best workaround?
    ... in "standards mode". ... We can circumvent this by triggering "quirks mode", e.g. by adding a comment before the doctype declaration, but then we also get all the "quirks" crap. ... The best way I've found so far is to insert an empty element and use generated content in CSS to make its presentation contain ZWSP. ... I can't assign the CSS rule directly to the wbr element, as IE 8 refuses to recognize the element at all. ...
    (comp.infosystems.www.authoring.html)
  • Re: Help with DOCTYPE
    ... I'm switching from QUIRKS mode to STANDARDS mode, ... QUIRKS mode no longer works in STANDARDS mode. ... absolute positioning doesn't seem to work at all in STANDARDS mode... ...
    (alt.html)