Variable length scrolling <div> or <iframe>?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bob Barrows

    #31
    Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

    Randy Webb wrote:[color=blue]
    > Roland Hall wrote:[color=green]
    >> "Randy Webb" <hikksnotathome @aol.com> wrote in message
    >> news:VomdnQ0sa-tdb4bdRVn-jw@comcast.com. ..[color=darkred]
    >>> Jim M wrote:
    >>>> I have had great success with using <iframe> with overflow-y set to[/color]
    >> auto. I[color=darkred]
    >>>> can get a similar look with the <iframe> tag.
    >>>>
    >>>> BUT... In all cases I need to have fixed heights. Is there a way
    >>>> to[/color]
    >> put[color=darkred]
    >>>> either tag inside an HTML <TD> and have the same kind of scrolling[/color]
    >> effect.[color=darkred]
    >>>>
    >>>> This would allow me to fill the screen and have the size of the[/color]
    >> scrolling[color=darkred]
    >>>> box change on resize.
    >>>
    >>> It was asked August of 2003 about a scrolling table where the header
    >>> stayed fixed, the td's scrolled.
    >>>
    >>> It has taken me 4 days to find the page again (the original doesn't
    >>> exist that I can find). Gotta love the archives.org site :)
    >>>
    >>> <URL:
    >>>[/color]
    >>[/color][/color]
    http://web.archive.org/web/200306082...bleInMSIE.html[color=blue][color=green]
    >>
    >> You didn't have to look that hard:
    >>[/color][/color]
    http://groups.google.com/groups?hl=e....phx.gbl#link1[color=blue][color=green]
    >>[/color]
    >
    > http://rockintheplanet.com/lab/scrolltable.html
    >
    > Doesn't scroll in my Mozilla, just cuts off the page and limits what I
    > can get to (data wise). Same effect in NS7.1, assumption is all
    > mozilla
    > based browsers will do the same.
    >
    > It gets worse in Opera :( The second and third row are stacked on one
    > another and still can't scroll the table.[/color]

    So what has to be changed to make it compatible? The one at Brinkster is
    very tough to slog through.

    Bob Barrows


    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Comment

    • Bob Barrows

      #32
      Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

      Bob Barrows wrote:[color=blue]
      > Randy Webb wrote:[color=green]
      >> Roland Hall wrote:[color=darkred]
      >>> "Randy Webb" <hikksnotathome @aol.com> wrote in message
      >>> news:VomdnQ0sa-tdb4bdRVn-jw@comcast.com. ..
      >>>> Jim M wrote:
      >>>>> I have had great success with using <iframe> with overflow-y set
      >>>>> to
      >>> auto. I
      >>>>> can get a similar look with the <iframe> tag.
      >>>>>
      >>>>> BUT... In all cases I need to have fixed heights. Is there a way
      >>>>> to
      >>> put
      >>>>> either tag inside an HTML <TD> and have the same kind of scrolling
      >>> effect.
      >>>>>
      >>>>> This would allow me to fill the screen and have the size of the
      >>> scrolling
      >>>>> box change on resize.
      >>>>
      >>>> It was asked August of 2003 about a scrolling table where the
      >>>> header
      >>>> stayed fixed, the td's scrolled.
      >>>>
      >>>> It has taken me 4 days to find the page again (the original doesn't
      >>>> exist that I can find). Gotta love the archives.org site :)
      >>>>
      >>>> <URL:
      >>>>
      >>>[/color][/color]
      >[/color]
      http://web.archive.org/web/200306082...bleInMSIE.html[color=blue][color=green][color=darkred]
      >>>
      >>> You didn't have to look that hard:
      >>>[/color][/color]
      >[/color]
      http://groups.google.com/groups?hl=e....phx.gbl#link1[color=blue][color=green][color=darkred]
      >>>[/color]
      >>
      >> http://rockintheplanet.com/lab/scrolltable.html
      >>
      >> Doesn't scroll in my Mozilla, just cuts off the page and limits what
      >> I
      >> can get to (data wise). Same effect in NS7.1, assumption is all
      >> mozilla
      >> based browsers will do the same.
      >>
      >> It gets worse in Opera :( The second and third row are stacked on one
      >> another and still can't scroll the table.[/color]
      >
      > So what has to be changed to make it compatible? The one at Brinkster
      > is
      > very tough to slog through.
      >
      > Bob Barrows[/color]

      Never mind. I found out I just had to remove the "px" from the row and div
      height settings to make it work in Mozilla. I haven't been able to test it
      in Opera ...

      The column widths need to be tweaked but this works:

      <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      <html>
      <head>

      <meta http-equiv="Content-Type" content="text/html;charset=IS O-8859-1">

      <meta name="GENERATOR " content="Micros oft Visual Studio 6.0">
      <title></title>

      </head>
      <body>
      <table border="1" style="border-collapse: collapse;" cellspacing="0"
      cellpadding="0" >
      <col width="150"> <col width="150"> <col width="150"> <col width="16">
      <thead>
      <tr>
      <th>Column Heading</th>
      <th>Column Heading</th>
      <th>Column Heading</th>
      <th>&nbsp;</th>
      </tr>
      </thead> <tfoot> <tr>
      <td>Footer Row</td>
      <td>Footer Row</td>
      <td>Footer Row</td>
      <td><br>
      </td>
      </tr>
      </tfoot> <tbody>
      <tr >
      <td colspan="4">
      <div style="height: 75; overflow: auto;">

      <table border="1" style="border-collapse: collapse;" width="453"
      cellspacing="0" cellpadding="0" >
      <col width="150"> <col width="150"> <col width="150">
      <tbody>
      <tr>
      <td>Data Cell</td>
      <td>Data Cell</td>
      <td>Data Cell</td>
      </tr>
      <tr>
      <td>Data Cell</td>
      <td>Data Cell</td>
      <td>Data Cell</td>
      </tr>
      <tr>
      <td>Data Cell</td>
      <td>Data Cell</td>
      <td>Data Cell</td>
      </tr>
      <tr>
      <td>Data Cell</td>
      <td>Data Cell</td>
      <td>Data Cell</td>
      </tr>
      <tr>
      <td>Data Cell</td>
      <td>Data Cell</td>
      <td>Data Cell</td>
      </tr>
      <tr>
      <td>Data Cell</td>
      <td>Data Cell</td>
      <td>Data Cell</td>
      </tr>

      </tbody>
      </table>
      </div>
      </td>
      </tr>

      </tbody>
      </table>
      <br>
      </body>
      </html>

      Bob Barrows

      --
      Microsoft MVP - ASP/ASP.NET
      Please reply to the newsgroup. This email account is my spam trap so I
      don't check it very often. If you must reply off-line, then remove the
      "NO SPAM"


      Comment

      • Randy Webb

        #33
        Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

        Bob Barrows wrote:[color=blue]
        > Randy Webb wrote:
        >[color=green]
        >>Roland Hall wrote:
        >>[color=darkred]
        >>>"Randy Webb" <hikksnotathome @aol.com> wrote in message
        >>>news:VomdnQ0 sa-tdb4bdRVn-jw@comcast.com. ..
        >>>
        >>>>Jim M wrote:[/color][/color][/color]

        <--snip-->
        [color=blue][color=green]
        >>http://rockintheplanet.com/lab/scrolltable.html
        >>
        >>Doesn't scroll in my Mozilla, just cuts off the page and limits what I
        >>can get to (data wise). Same effect in NS7.1, assumption is all
        >>mozilla
        >>based browsers will do the same.
        >>
        >>It gets worse in Opera :( The second and third row are stacked on one
        >>another and still can't scroll the table.[/color]
        >
        >
        > So what has to be changed to make it compatible? The one at Brinkster is
        > very tough to slog through.[/color]

        I did just find out (by asking DU in comp.lang.javas cript) about the
        file not being there, its been moved/renamed:

        <URL:

        />

        Shouldn't be that hard to modify it as needed, do it the old fashion way
        by tinkering and testing. If that fails, ask in
        comp.info.www.authoring.* as appropriate.


        --
        Randy
        Chance Favors The Prepared Mind
        comp.lang.javas cript FAQ - http://jibbering.com/faq/

        Comment

        • Randy Webb

          #34
          Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

          Bob Barrows wrote:

          <--snip-->
          [color=blue]
          > Never mind. I found out I just had to remove the "px" from the row and div
          > height settings to make it work in Mozilla. I haven't been able to test it
          > in Opera ...[/color]

          Glad you got it work.

          As written, it scrolls in Opera 7, without stacking anything.

          --
          Randy
          Chance Favors The Prepared Mind
          comp.lang.javas cript FAQ - http://jibbering.com/faq/

          Comment

          • Roland Hall

            #35
            Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

            "Randy Webb" wrote:
            : Bob Barrows wrote:
            :
            : <--snip-->
            :
            : > Never mind. I found out I just had to remove the "px" from the row and
            div
            : > height settings to make it work in Mozilla. I haven't been able to test
            it
            : > in Opera ...
            :
            : Glad you got it work.
            :
            : As written, it scrolls in Opera 7, without stacking anything.

            It appears the bar is moving. Wondering why anyone would support a browser
            that requires you to pay to remove advertising. I'll look at it in Opera to
            see what can be done but then I'm removing that POS from my system.

            --
            Roland Hall
            /* This information is distributed in the hope that it will be useful, but
            without any warranty; without even the implied warranty of merchantability
            or fitness for a particular purpose. */
            Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
            WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
            MSDN Library - http://msdn.microsoft.com/library/default.asp


            Comment

            • Roland Hall

              #36
              Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

              : "Randy Webb" wrote:
              : : Bob Barrows wrote:
              : :
              : : <--snip-->
              : :
              : : > Never mind. I found out I just had to remove the "px" from the row and
              : div
              : : > height settings to make it work in Mozilla. I haven't been able to
              test
              : it
              : : > in Opera ...
              : :
              : : Glad you got it work.
              : :
              : : As written, it scrolls in Opera 7, without stacking anything.

              Opera has a problem with border-collapse: collapse. It doesn't collapse the
              border on the right side of a table.


              I'm testing with Opera 7.23 Build 3227, Mozilla 1.6, IE
              6.0.2800.1106.x psp2.030422-1633

              --
              Roland Hall
              /* This information is distributed in the hope that it will be useful, but
              without any warranty; without even the implied warranty of merchantability
              or fitness for a particular purpose. */
              Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
              WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
              MSDN Library - http://msdn.microsoft.com/library/default.asp


              Comment

              • Randy Webb

                #37
                Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                Roland Hall wrote:[color=blue]
                > "Randy Webb" wrote:
                > : Bob Barrows wrote:
                > :
                > : <--snip-->
                > :
                > : > Never mind. I found out I just had to remove the "px" from the row and
                > div
                > : > height settings to make it work in Mozilla. I haven't been able to test
                > it
                > : > in Opera ...
                > :
                > : Glad you got it work.
                > :
                > : As written, it scrolls in Opera 7, without stacking anything.
                >
                > It appears the bar is moving.[/color]

                Which "bar"? I am looking at the page now, and its working perfectly in
                Opera 7.
                [color=blue]
                > Wondering why anyone would support a browser that requires you to pay to remove advertising.[/color]

                Perhaps because it doesn't have security patches come out once a week
                (exaggeration but I hope you get my point) and has better standards
                compliance than IE does? Its actually *easier* to support it than IE is.
                [color=blue]
                > I'll look at it in Opera to see what can be done but then I'm removing that POS from my system.[/color]

                If MS didn't have its sites set on 100% domination by requiring that I
                have a web browser to be able to use my PC, I would do the same thing
                with IE since my feelings are generally the same about IE as you have
                stated your opinion to be about Opera.

                --
                Randy
                Chance Favors The Prepared Mind
                comp.lang.javas cript FAQ - http://jibbering.com/faq/

                Comment

                • Randy Webb

                  #38
                  Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                  Roland Hall wrote:
                  [color=blue]
                  > : "Randy Webb" wrote:
                  > : : Bob Barrows wrote:
                  > : :
                  > : : <--snip-->
                  > : :
                  > : : > Never mind. I found out I just had to remove the "px" from the row and
                  > : div
                  > : : > height settings to make it work in Mozilla. I haven't been able to
                  > test
                  > : it
                  > : : > in Opera ...
                  > : :
                  > : : Glad you got it work.
                  > : :
                  > : : As written, it scrolls in Opera 7, without stacking anything.
                  >
                  > Opera has a problem with border-collapse: collapse. It doesn't collapse the
                  > border on the right side of a table.
                  > http://www.meyerweb.com/eric/css/tes...2/sec17-06.htm
                  >
                  > I'm testing with Opera 7.23 Build 3227, Mozilla 1.6, IE
                  > 6.0.2800.1106.x psp2.030422-1633
                  >[/color]

                  Yeah, but Opera and Mozilla get the first table right, IE gets it
                  horribly wrong.

                  --
                  Randy
                  Chance Favors The Prepared Mind
                  comp.lang.javas cript FAQ - http://jibbering.com/faq/

                  Comment

                  • Roland Hall

                    #39
                    Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                    "Randy Webb" wrote:
                    : > Opera has a problem with border-collapse: collapse. It doesn't collapse
                    the
                    : > border on the right side of a table.
                    : > http://www.meyerweb.com/eric/css/tes...2/sec17-06.htm
                    : >
                    : > I'm testing with Opera 7.23 Build 3227, Mozilla 1.6, IE
                    : > 6.0.2800.1106.x psp2.030422-1633
                    : >
                    : Yeah, but Opera and Mozilla get the first table right, IE gets it
                    : horribly wrong.

                    I go to comparison sights and they state Opera supports border-collapse:
                    collapse fully but it was 7.1. Perhaps something has changed?!

                    You should check out this page with all 3. IE has two errors and that is
                    captions left and right are not supported. Opera doesn't work with most on
                    the page. I think it was on Eric Meyer's site that I read how wonderful
                    Mozilla and Opera are with DHTML but I'm missing it.

                    Opera doesn't like <tr height=320> inside a <tbody> element. When you have
                    this, the <tfoot> displays right below the <thead> instead of below the
                    <tbody> as it should however it scrolls.

                    Mozilla doesn't show a scrollbar unless you set overflow: scroll and then it
                    just stretches rather than overflowing. Left/right scrollbars work but
                    Up/Down do not.

                    I've even changed from a nested table to SPANs and ONLY IE works.
                    Mozilla is off in left field and cannot assign a width to a SPAN.
                    Opera screws up as before. However, if I remove the <tfoot> entry, then
                    Opera works as it should.
                    Mozilla still has issues.



                    The above link is not apples to apples. It's a table above a scrollable DIV
                    and there is NO footer.
                    The other issue is since overflow is set on the outside, with the div, the
                    left/right scrollbars are now present, even though they are not needed.

                    Here is where I'm testing: http://kiddanger.com/lab/test/scrolltable.html

                    --
                    Roland Hall
                    /* This information is distributed in the hope that it will be useful, but
                    without any warranty; without even the implied warranty of merchantability
                    or fitness for a particular purpose. */
                    Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
                    WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
                    MSDN Library - http://msdn.microsoft.com/library/default.asp




                    Comment

                    • Roland Hall

                      #40
                      Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                      "Randy Webb" wrote:
                      : Roland Hall wrote:
                      : > "Randy Webb" wrote:
                      : > : Bob Barrows wrote:
                      : > :
                      : > : <--snip-->
                      : > :
                      : > : > Never mind. I found out I just had to remove the "px" from the row
                      and
                      : > div
                      : > : > height settings to make it work in Mozilla. I haven't been able to
                      test
                      : > it
                      : > : > in Opera ...
                      : > :
                      : > : Glad you got it work.
                      : > :
                      : > : As written, it scrolls in Opera 7, without stacking anything.
                      : >
                      : > It appears the bar is moving.
                      :
                      : Which "bar"? I am looking at the page now, and its working perfectly in
                      : Opera 7.

                      Which page are you looking at?

                      : > Wondering why anyone would support a browser that requires you to pay to
                      remove advertising.
                      :
                      : Perhaps because it doesn't have security patches come out once a week
                      : (exaggeration but I hope you get my point) and has better standards
                      : compliance than IE does? Its actually *easier* to support it than IE is.

                      You don't get fame by going after unknowns, now do you?

                      : > I'll look at it in Opera to see what can be done but then I'm removing
                      that POS from my system.
                      :
                      : If MS didn't have its sites set on 100% domination by requiring that I
                      : have a web browser to be able to use my PC, I would do the same thing
                      : with IE since my feelings are generally the same about IE as you have
                      : stated your opinion to be about Opera.

                      I haven't begun to state my feelings re: Opera. (O:=
                      I'm just getting started! It crashed when I tried to view full screen.
                      Self-inflicted DoS by hitting F-11.


                      --
                      Roland Hall
                      /* This information is distributed in the hope that it will be useful, but
                      without any warranty; without even the implied warranty of merchantability
                      or fitness for a particular purpose. */
                      Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
                      WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
                      MSDN Library - http://msdn.microsoft.com/library/default.asp


                      Comment

                      • Roland Hall

                        #41
                        Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?


                        "Roland Hall" <nobody@nowhere > wrote in message
                        news:eK3M4nG6DH A.1948@TK2MSFTN GP12.phx.gbl...
                        : "Randy Webb" wrote:
                        : : > Opera has a problem with border-collapse: collapse. It doesn't
                        collapse
                        : the
                        : : > border on the right side of a table.
                        : : > http://www.meyerweb.com/eric/css/tes...2/sec17-06.htm
                        : : >
                        : : > I'm testing with Opera 7.23 Build 3227, Mozilla 1.6, IE
                        : : > 6.0.2800.1106.x psp2.030422-1633
                        : : >
                        : : Yeah, but Opera and Mozilla get the first table right, IE gets it
                        : : horribly wrong.
                        :
                        : I go to comparison sights and they state Opera supports border-collapse:
                        : collapse fully but it was 7.1. Perhaps something has changed?!
                        :
                        : You should check out this page with all 3. IE has two errors and that is
                        : captions left and right are not supported. Opera doesn't work with most
                        on
                        : the page. I think it was on Eric Meyer's site that I read how wonderful
                        : Mozilla and Opera are with DHTML but I'm missing it.
                        :
                        : Opera doesn't like <tr height=320> inside a <tbody> element. When you
                        have
                        : this, the <tfoot> displays right below the <thead> instead of below the
                        : <tbody> as it should however it scrolls.
                        :
                        : Mozilla doesn't show a scrollbar unless you set overflow: scroll and then
                        it
                        : just stretches rather than overflowing. Left/right scrollbars work but
                        : Up/Down do not.
                        :
                        : I've even changed from a nested table to SPANs and ONLY IE works.
                        : Mozilla is off in left field and cannot assign a width to a SPAN.
                        : Opera screws up as before. However, if I remove the <tfoot> entry, then
                        : Opera works as it should.
                        : Mozilla still has issues.
                        :
                        :

                        :
                        : The above link is not apples to apples. It's a table above a scrollable
                        DIV
                        : and there is NO footer.
                        : The other issue is since overflow is set on the outside, with the div, the
                        : left/right scrollbars are now present, even though they are not needed.
                        :
                        : Here is where I'm testing: http://kiddanger.com/lab/test/scrolltable.html

                        I forgot to supply you with this link:


                        --
                        Roland Hall
                        /* This information is distributed in the hope that it will be useful, but
                        without any warranty; without even the implied warranty of merchantability
                        or fitness for a particular purpose. */
                        Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
                        WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
                        MSDN Library - http://msdn.microsoft.com/library/default.asp


                        Comment

                        • Randy Webb

                          #42
                          Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                          Roland Hall wrote:
                          [color=blue]
                          > "Randy Webb" wrote:
                          > : Roland Hall wrote:
                          > : > "Randy Webb" wrote:
                          > : > : Bob Barrows wrote:
                          > : > :
                          > : > : <--snip-->
                          > : > :
                          > : > : > Never mind. I found out I just had to remove the "px" from the row
                          > and
                          > : > div
                          > : > : > height settings to make it work in Mozilla. I haven't been able to
                          > test
                          > : > it
                          > : > : > in Opera ...
                          > : > :
                          > : > : Glad you got it work.
                          > : > :
                          > : > : As written, it scrolls in Opera 7, without stacking anything.
                          > : >
                          > : > It appears the bar is moving.
                          > :
                          > : Which "bar"? I am looking at the page now, and its working perfectly in
                          > : Opera 7.
                          >
                          > Which page are you looking at?[/color]

                          The one I was looking at was the one the code was posted for, I think we
                          were looking at two different pages :-(
                          [color=blue]
                          >
                          > : > Wondering why anyone would support a browser that requires you to pay to
                          > remove advertising.
                          > :
                          > : Perhaps because it doesn't have security patches come out once a week
                          > : (exaggeration but I hope you get my point) and has better standards
                          > : compliance than IE does? Its actually *easier* to support it than IE is.
                          >
                          > You don't get fame by going after unknowns, now do you?[/color]

                          I dont want fame to start with.

                          Nor do I want to get into a "which browser is best" argument, it has no
                          end, nobody is right, nobody is wrong because its subjective.

                          --
                          Randy
                          Chance Favors The Prepared Mind
                          comp.lang.javas cript FAQ - http://jibbering.com/faq/

                          Comment

                          • Roland Hall

                            #43
                            Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                            "Randy Webb" <hikksnotathome @aol.com> wrote in message
                            news:ueSdnWrMG7 kLsIDd4p2dnA@co mcast.com...
                            : Roland Hall wrote:
                            :
                            : > : Which "bar"? I am looking at the page now, and its working perfectly
                            in
                            : > : Opera 7.
                            : >
                            : > Which page are you looking at?
                            :
                            : The one I was looking at was the one the code was posted for, I think we
                            : were looking at two different pages :-(

                            Perhaps but I was looking for you to reference a link. Please do so I can
                            test it myself.

                            : > : > Wondering why anyone would support a browser that requires you to
                            pay to
                            : > remove advertising.
                            : > :
                            : > : Perhaps because it doesn't have security patches come out once a week
                            : > : (exaggeration but I hope you get my point) and has better standards
                            : > : compliance than IE does? Its actually *easier* to support it than IE
                            is.
                            : >
                            : > You don't get fame by going after unknowns, now do you?
                            :
                            : I dont want fame to start with.
                            :
                            : Nor do I want to get into a "which browser is best" argument, it has no
                            : end, nobody is right, nobody is wrong because its subjective.

                            I think they each have their pros and cons and we all usually like best what
                            we're used to but that was not what I meant. Perhaps I didn't state it
                            clearly.

                            My comment: "You don't get fame by going after unknowns, now do you?" was
                            not directed at you but in reference to your comment re: "Perhaps because it
                            doesn't have security patches come out once a week..." meaning Microsoft is
                            a target, IMHO, for two reasons:

                            1. They're commercial and proponents of open systems don't like paying for
                            anything. I put that in a category all by itself. Jes' sayin'...
                            2. You get more attention finding a security flaw in Microsoft's code than
                            you do finding one in Opera or Mozilla, etc.

                            I haven't seen code yet that actually uses:

                            <table>
                            <thead>
                            <tfoot>
                            <tbody>
                            <tr>
                            <td>
                            ....
                            </table>
                            and see it work properly in Mozilla and Opera. That is what I'm testing.

                            To give the table height, the <tr height=320> was used but then Opera has an
                            issue because it puts the footer under <thead> instead of <tbody>. And to
                            be completely honest, the scroll in not attached to the table anyway. It's
                            the DIV that scrolls. Using the above, the DIV is set to 100%, inside the
                            <tr height=320> so it expands within that parent. Then a nested table,
                            which I have changed to SPANs scrolls within that when the DIV is given
                            overflow: auto. However, Mozilla doesn't like spans and does not set the
                            width= to the SPANs. In the immortal words of Gilda Radner, "It's always
                            something."

                            If you set the overflow: scroll, then Mozilla is happy but only with the
                            nested table, not the SPANs but it doesn't scroll, it stretches the
                            container to fit the elements within it.

                            And, regarding standards, no browser is 100% compliant with ALL standards so
                            I think that is a weak argument although I agree Microsoft needs a kick in
                            the pants. Microsoft does come up with some good functions, that IMHO,
                            should be standards, like overflow-x and overflow-y or perhaps overflow
                            should be modified to support: { overflow: xy | x y } where we could have
                            what we have now: overflow: hidden, inline, none so current working code
                            works, as is but additional functionality could overcome some issues like
                            when you do not want both scrollbars.

                            { overflow: xy } - scroll, hidden, visible, auto (current)
                            { overflow: x y } - scroll, hidden, visible, auto (proposed) both must be
                            set. If you only want one then:
                            { overflow: hidden auto }

                            Then we don't need a new attribute: overflow-x or overflow-y to get the same
                            results. I think the standards committee missed simple issues like this
                            because you can set border: {1,4} but you can't do it with scrollbars?
                            Clearly someone was asleep here.
                            I was originally using overflow-y and when I changed it to just overflow,
                            Opera was happy, at least for the scrolling.

                            --
                            Roland Hall
                            /* This information is distributed in the hope that it will be useful, but
                            without any warranty; without even the implied warranty of merchantability
                            or fitness for a particular purpose. */
                            Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
                            WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
                            MSDN Library - http://msdn.microsoft.com/library/default.asp



                            Comment

                            • Roland Hall

                              #44
                              Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                              "Roland Hall" <nobody@nowhere > wrote in message
                              news:uG$6MWQ6DH A.2732@TK2MSFTN GP09.phx.gbl...
                              : I haven't seen code yet that actually uses:
                              :
                              : <table>
                              : <thead>
                              : <tfoot>
                              : <tbody>
                              : <tr>
                              : <td>
                              : ...
                              : </table>
                              : and see it work properly in Mozilla and Opera. That is what I'm testing.
                              The above should be div instead of td.

                              : what we have now: overflow: hidden, inline, none so current working code

                              The above should be:

                              what we have now: { overflow: scroll | hidden | visible | auto } so current
                              working code

                              --
                              Roland Hall
                              /* This information is distributed in the hope that it will be useful, but
                              without any warranty; without even the implied warranty of merchantability
                              or fitness for a particular purpose. */
                              Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
                              WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
                              MSDN Library - http://msdn.microsoft.com/library/default.asp


                              Comment

                              • Dave Anderson

                                #45
                                Re: Variable length scrolling &lt;div&gt; or &lt;iframe&g t;?

                                "Roland Hall" wrote:[color=blue]
                                >
                                > Wondering why anyone would support a browser that requires
                                > you to pay to remove advertising.[/color]

                                Over here we're wondering why anyone would support a browser that allows
                                ActiveX controls and unrequested pop-ups.



                                --
                                Dave Anderson

                                Unsolicited commercial email will be read at a cost of $500 per message. Use
                                of this email address implies consent to these terms. Please do not contact
                                me directly or ask me to contact you directly for assistance. If your
                                question is worth asking, it's worth posting.


                                Comment

                                Working...