Using the * for dynamic height

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

    Using the * for dynamic height

    I have a page that is using tables (please no comments about this - I
    understand it should be css but firefox created this template) I have
    a menu down the left side and the bottom is supposed to be as tall as
    needed to fill the page. This works fine in firefox but not in ie.
    Here is a link to the page if you would like to see it



    I think the problem has to do with the height="*" - I was told that
    the * means make it as big as it needs to be. How big it needs to be
    then gets calculated from the main content. Any ideas how I can fix
    this in IE, I really appreciate your help.

    Thanks,
    Randy
  • Beauregard T. Shagnasty

    #2
    Re: Using the * for dynamic height

    Rabel wrote:
    but firefox created this template)
    I think you've been DreamWeavering too long. Firefox doesn't create
    templates; Firefox is a browser.

    And a fine job DW is doing here:

    ... width="969" [my browser is only 925px wide.]

    <tr>
    <td><img src="images/spacer.gif" alt="" border="0" height="1" width="26"
    /></td>
    <td><img src="images/spacer.gif" alt="" border="0" height="1" width="81"
    /></td>
    <td><img src="images/spacer.gif" alt="" border="0" height="1" width="13"
    /></td>
    <td><img src="images/spacer.gif" alt="" border="0" height="1" width="14"
    /></td>
    <td><img src="images/spacer.gif" alt="" border="0" height="1" width="5"
    /></td>
    <td><img src="images/spacer.gif" alt="" border="0" height="1" width="9"
    /></td>
    <td><img src="images/spacer.gif" alt="" border="0" height="1" width="45"
    /></td>
    et cetera...

    --
    -bts
    -Friends don't let friends drive Windows

    Comment

    • David E. Ross

      #3
      Re: Using the * for dynamic height

      On 7/17/2008 2:07 PM, Rabel wrote:
      I have a page that is using tables (please no comments about this - I
      understand it should be css but firefox created this template) I have
      a menu down the left side and the bottom is supposed to be as tall as
      needed to fill the page. This works fine in firefox but not in ie.
      Here is a link to the page if you would like to see it
      >

      >
      I think the problem has to do with the height="*" - I was told that
      the * means make it as big as it needs to be. How big it needs to be
      then gets calculated from the main content. Any ideas how I can fix
      this in IE, I really appreciate your help.
      >
      Thanks,
      Randy
      As the previous reply indicated, Firefox is a browser and not a Web page
      composer.

      If you want the height to be whatever is necessary, just don't specify it.

      --

      David E. Ross
      <http://www.rossde.com/>.

      Q: What's a President Bush cocktail?
      A: Business on the rocks.

      Comment

      • dorayme

        #4
        Re: Using the * for dynamic height

        In article <g5ogp1$fiu$1@r egistered.motza rella.org>,
        "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalidwr ote:
        Rabel wrote:
        >
        but firefox created this template)
        >
        I think you've been DreamWeavering too long. Firefox doesn't create
        templates; Firefox is a browser.
        Or Fireworksing?

        --
        dorayme

        Comment

        • Beauregard T. Shagnasty

          #5
          Re: Using the * for dynamic height

          dorayme wrote:
          "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalidwr ote:
          >Rabel wrote:
          >>but firefox created this template)
          >>
          >I think you've been DreamWeavering too long. Firefox doesn't create
          >templates; Firefox is a browser.
          >
          Or Fireworksing?
          Ooh. Do you mean s/firefox/fireworks ? Does fireworks put that MM_
          crap in all its pages? (Never used it, so didn't think of the possible
          miswording.)

          --
          -bts
          -Friends don't let friends drive Windows

          Comment

          • dorayme

            #6
            Re: Using the * for dynamic height

            In article <g5oup5$7d4$1@r egistered.motza rella.org>,
            "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalidwr ote:
            dorayme wrote:
            >
            "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalidwr ote:
            Rabel wrote:
            >but firefox created this template)
            >
            I think you've been DreamWeavering too long. Firefox doesn't create
            templates; Firefox is a browser.
            Or Fireworksing?
            >
            Ooh. Do you mean s/firefox/fireworks ? Does fireworks put that MM_
            crap in all its pages? (Never used it, so didn't think of the possible
            miswording.)
            Fireworks was a Macromedia product, the same stable as Dreamweaver under
            Adobe these days...

            FW is actually very good for web image work but it has another
            dreamweavily side to it and you can see some of that side in the
            newsgroup traffic on the program, things to do with generating layouts
            (last time I looked with tables and lots of padding empty gifs).

            I recall using its web facilities for a short while till I came here and
            learnt of this other world of semantic markup and css. Now, these
            facilities are so little used by me that I am sure that any table it
            generated would be rusty and simply fall down and injure bystanders. <g>

            --
            dorayme

            Comment

            • Rabel

              #7
              Re: Using the * for dynamic height

              On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere .notwrote:
              On 7/17/2008 2:07 PM, Rabel wrote:
              >
              I have a page that is using tables (please no comments about this - I
              understand it should be css but firefox created this template) I have
              a menu down the left side and the bottom is supposed to be as tall as
              needed to fill the page. This works fine in firefox but not in ie.
              Here is a link to the page if you would like to see it
              >>
              I think the problem has to do with the height="*" - I was told that
              the * means make it as big as it needs to be. How big it needs to be
              then gets calculated from the main content. Any ideas how I can fix
              this in IE, I really appreciate your help.
              >
              Thanks,
              Randy
              >
              As the previous reply indicated, Firefox is a browser and not a Web page
              composer.
              >
              If you want the height to be whatever is necessary, just don't specify it.
              >
              --
              >
              David E. Ross
              <http://www.rossde.com/>.
              >
              Q: What's a President Bush cocktail?
              A: Business on the rocks.
              Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
              "if you want the height to be whatever is necessary, just don't
              specify it." Do I just leave it blank or how would I change the code.
              Thanks

              Comment

              • David E. Ross

                #8
                Re: Using the * for dynamic height

                On 7/22/2008 1:21 PM, Rabel wrote:
                On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere .notwrote:
                >On 7/17/2008 2:07 PM, Rabel wrote:
                >>
                >>I have a page that is using tables (please no comments about this - I
                >>understand it should be css but firefox created this template) I have
                >>a menu down the left side and the bottom is supposed to be as tall as
                >>needed to fill the page. This works fine in firefox but not in ie.
                >>Here is a link to the page if you would like to see it
                >>http://creativeness.com/temptest/storetemplate2.htm
                >>I think the problem has to do with the height="*" - I was told that
                >>the * means make it as big as it needs to be. How big it needs to be
                >>then gets calculated from the main content. Any ideas how I can fix
                >>this in IE, I really appreciate your help.
                >>Thanks,
                >>Randy
                >As the previous reply indicated, Firefox is a browser and not a Web page
                >composer.
                >>
                >If you want the height to be whatever is necessary, just don't specify it.
                >>
                >--
                >>
                >David E. Ross
                ><http://www.rossde.com/>.
                >>
                >Q: What's a President Bush cocktail?
                >A: Business on the rocks.
                >
                Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
                "if you want the height to be whatever is necessary, just don't
                specify it." Do I just leave it blank or how would I change the code.
                Thanks
                Omit the Height attribute entirely.

                The HTML specification does not require a height on a table cell and
                does not allow a height on a table row. If the cell height is not
                specified at all, its row's height will be whatever is needed to present
                the contents of the row's cells (and not not greater than that height),
                all cells in a row having a uniform height.

                Actually, the Height attribute is deprecated for table cells in HTML
                4.01, which means it really should not be used at all for table cells.
                The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
                is defined but also deprecated for the APPLET element. The
                specification indicates no other elements where this attribute can appear.

                --

                David E. Ross
                <http://www.rossde.com/>.

                Q: What's a President Bush cocktail?
                A: Business on the rocks.

                Comment

                • Rabel

                  #9
                  Re: Using the * for dynamic height

                  On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere .notwrote:
                  On 7/22/2008 1:21 PM, Rabel wrote:
                  >
                  >
                  >
                  On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere .notwrote:
                  On 7/17/2008 2:07 PM, Rabel wrote:
                  >
                  >I have a page that is using tables (please no comments about this - I
                  >understand it should be css but firefox created this template) I have
                  >a menu down the left side and the bottom is supposed to be as tall as
                  >needed to fill the page. This works fine in firefox but not in ie.
                  >Here is a link to the page if you would like to see it
                  >>http://creativeness.com/temptest/storetemplate2.htm
                  >I think the problem has to do with the height="*" - I was told that
                  >the * means make it as big as it needs to be. How big it needs to be
                  >then gets calculated from the main content. Any ideas how I can fix
                  >this in IE, I really appreciate your help.
                  >Thanks,
                  >Randy
                  As the previous reply indicated, Firefox is a browser and not a Web page
                  composer.
                  >
                  If you want the height to be whatever is necessary, just don't specify it.
                  >
                  --
                  >
                  David E. Ross
                  <http://www.rossde.com/>.
                  >
                  Q: What's a President Bush cocktail?
                  A: Business on the rocks.
                  >
                  Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
                  "if you want the height to be whatever is necessary, just don't
                  specify it." Do I just leave it blank or how would I change the code.
                  Thanks
                  >
                  Omit the Height attribute entirely.
                  >
                  The HTML specification does not require a height on a table cell and
                  does not allow a height on a table row. If the cell height is not
                  specified at all, its row's height will be whatever is needed to present
                  the contents of the row's cells (and not not greater than that height),
                  all cells in a row having a uniform height.
                  >
                  Actually, the Height attribute is deprecated for table cells in HTML
                  4.01, which means it really should not be used at all for table cells.
                  The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
                  is defined but also deprecated for the APPLET element. The
                  specification indicates no other elements where this attribute can appear.
                  >
                  --
                  >
                  David E. Ross
                  <http://www.rossde.com/>.
                  >
                  Q: What's a President Bush cocktail?
                  A: Business on the rocks.
                  Thanks David - I tried that changing the code to just <trand same
                  result works in firefox but not in ie. Any idea whats going on.

                  Thanks,
                  Randy

                  Comment

                  • David E. Ross

                    #10
                    Re: Using the * for dynamic height

                    On 7/23/2008 9:12 AM, Rabel wrote:
                    On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere .notwrote:
                    >On 7/22/2008 1:21 PM, Rabel wrote:
                    >>
                    >>
                    >>
                    >>On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere .notwrote:
                    >>>On 7/17/2008 2:07 PM, Rabel wrote:
                    >>>>I have a page that is using tables (please no comments about this - I
                    >>>>understan d it should be css but firefox created this template) I have
                    >>>>a menu down the left side and the bottom is supposed to be as tall as
                    >>>>needed to fill the page. This works fine in firefox but not in ie.
                    >>>>Here is a link to the page if you would like to see it
                    >>>>http://creativeness.com/temptest/storetemplate2.htm
                    >>>>I think the problem has to do with the height="*" - I was told that
                    >>>>the * means make it as big as it needs to be. How big it needs to be
                    >>>>then gets calculated from the main content. Any ideas how I can fix
                    >>>>this in IE, I really appreciate your help.
                    >>>>Thanks,
                    >>>>Randy
                    >>>As the previous reply indicated, Firefox is a browser and not a Web page
                    >>>composer.
                    >>>If you want the height to be whatever is necessary, just don't specify it.
                    >>>--
                    >>>David E. Ross
                    >>><http://www.rossde.com/>.
                    >>>Q: What's a President Bush cocktail?
                    >>>A: Business on the rocks.
                    >>Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
                    >>"if you want the height to be whatever is necessary, just don't
                    >>specify it." Do I just leave it blank or how would I change the code.
                    >>Thanks
                    >Omit the Height attribute entirely.
                    >>
                    >The HTML specification does not require a height on a table cell and
                    >does not allow a height on a table row. If the cell height is not
                    >specified at all, its row's height will be whatever is needed to present
                    >the contents of the row's cells (and not not greater than that height),
                    >all cells in a row having a uniform height.
                    >>
                    >Actually, the Height attribute is deprecated for table cells in HTML
                    >4.01, which means it really should not be used at all for table cells.
                    >The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
                    >is defined but also deprecated for the APPLET element. The
                    >specificatio n indicates no other elements where this attribute can appear.
                    >>
                    >
                    Thanks David - I tried that changing the code to just <trand same
                    result works in firefox but not in ie. Any idea whats going on.
                    >
                    Thanks,
                    Randy
                    Your page says it's XHTML in the DOCTYPE and contains XHTML markup, but
                    your server is sending it as HTML. The HTTP header sent by your server
                    says content-type is "text/html. The HTTP header should say
                    content-type is something like "applicatio n/xhtml+xml".

                    On top of that, IE has problems rendering XHTML. IE7 might be better
                    than IE6 for XHTML, but I'm not sure about that. I only use SeaMonkey
                    as my browser.

                    --

                    David E. Ross
                    <http://www.rossde.com/>.

                    Q: What's a President Bush cocktail?
                    A: Business on the rocks.

                    Comment

                    • Rabel

                      #11
                      Re: Using the * for dynamic height

                      On Jul 23, 5:41 pm, "David E. Ross" <nob...@nowhere .notwrote:
                      On 7/23/2008 9:12 AM, Rabel wrote:
                      >
                      >
                      >
                      On Jul 22, 8:32 pm, "David E. Ross" <nob...@nowhere .notwrote:
                      On 7/22/2008 1:21 PM, Rabel wrote:
                      >
                      >On Jul 17, 8:11 pm, "David E. Ross" <nob...@nowhere .notwrote:
                      >>On 7/17/2008 2:07 PM, Rabel wrote:
                      >>>I have a page that is using tables (please no comments about this - I
                      >>>understand it should be css but firefox created this template) I have
                      >>>a menu down the left side and the bottom is supposed to be as tall as
                      >>>needed to fill the page. This works fine in firefox but not in ie.
                      >>>Here is a link to the page if you would like to see it
                      >>>>http://creativeness.com/temptest/storetemplate2.htm
                      >>>I think the problem has to do with the height="*" - I was told that
                      >>>the * means make it as big as it needs to be. How big it needs to be
                      >>>then gets calculated from the main content. Any ideas how I can fix
                      >>>this in IE, I really appreciate your help.
                      >>>Thanks,
                      >>>Randy
                      >>As the previous reply indicated, Firefox is a browser and not a Web page
                      >>composer.
                      >>If you want the height to be whatever is necessary, just don't specify it.
                      >>--
                      >>David E. Ross
                      >><http://www.rossde.com/>.
                      >>Q: What's a President Bush cocktail?
                      >>A: Business on the rocks.
                      >Sorry Guys typo - I meant fireworks. Thanks David but what do you mean
                      >"if you want the height to be whatever is necessary, just don't
                      >specify it." Do I just leave it blank or how would I change the code.
                      >Thanks
                      Omit the Height attribute entirely.
                      >
                      The HTML specification does not require a height on a table cell and
                      does not allow a height on a table row. If the cell height is not
                      specified at all, its row's height will be whatever is needed to present
                      the contents of the row's cells (and not not greater than that height),
                      all cells in a row having a uniform height.
                      >
                      Actually, the Height attribute is deprecated for table cells in HTML
                      4.01, which means it really should not be used at all for table cells.
                      The Height attribute is okay for IMG, OBJECT, and IFRAME elements. It
                      is defined but also deprecated for the APPLET element. The
                      specification indicates no other elements where this attribute can appear.
                      >
                      Thanks David - I tried that changing the code to just <trand same
                      result works in firefox but not in ie. Any idea whats going on.
                      >
                      Thanks,
                      Randy
                      >
                      Your page says it's XHTML in the DOCTYPE and contains XHTML markup, but
                      your server is sending it as HTML. The HTTP header sent by your server
                      says content-type is "text/html. The HTTP header should say
                      content-type is something like "applicatio n/xhtml+xml".
                      >
                      On top of that, IE has problems rendering XHTML. IE7 might be better
                      than IE6 for XHTML, but I'm not sure about that. I only use SeaMonkey
                      as my browser.
                      >
                      --
                      >
                      David E. Ross
                      <http://www.rossde.com/>.
                      >
                      Q: What's a President Bush cocktail?
                      A: Business on the rocks
                      Hi David,
                      Thanks for your help but I removed that info and still not able to get
                      it to work. I mostly use firefox but I am using ie7 to check sites too
                      so not any better in ie7. Any other ideas what I could do.

                      Thanks again,
                      Randy

                      Comment

                      • Ben Bacarisse

                        #12
                        Re: Using the * for dynamic height

                        Rabel <Randy@creative ness.comwrites:
                        On Jul 23, 5:41 pm, "David E. Ross" <nob...@nowhere .notwrote:
                        <snip>
                        >Your page says it's XHTML in the DOCTYPE and contains XHTML markup, but
                        >your server is sending it as HTML. The HTTP header sent by your server
                        >says content-type is "text/html. The HTTP header should say
                        >content-type is something like "applicatio n/xhtml+xml".
                        >>
                        >On top of that, IE has problems rendering XHTML. IE7 might be better
                        >than IE6 for XHTML, but I'm not sure about that. I only use SeaMonkey
                        >as my browser.
                        >>
                        >--
                        >>
                        >David E. Ross
                        ><http://www.rossde.com/>.
                        >>
                        >Q: What's a President Bush cocktail?
                        >A: Business on the rocks
                        Best not to quote sig blocks.
                        Hi David,
                        Thanks for your help but I removed that info and still not able to get
                        it to work.
                        You made it (technically) worse. The "info" you removed was the
                        DOCTYPE (at least I assume it was -- there was none there when I
                        looked) so now the page (still served as text/html) is now a large
                        collection of syntax errors which the browser has to just plough
                        through trying to make sense of it as best it can.

                        I say "technicall y worse" because the HTML/XHTML issue may not have
                        anything to do with the problem you think the page has.
                        I mostly use firefox but I am using ie7 to check sites too
                        so not any better in ie7. Any other ideas what I could do.
                        Gradually strip everything out from the page leaving just the bit that
                        shows the problem. Remove the scripting, the multiple images (if an
                        image is important to the issue, keep one but don't have all those
                        differently names ones). What will then happen is you will either
                        find what is causing the problem or you will end up with a page that
                        people will feel they can help with. When I look at all the
                        extraneous stuff on that page, I loose the will to live^H^H^H^H help.

                        --
                        Ben.

                        Comment

                        • Rabel

                          #13
                          Re: Using the * for dynamic height

                          Does anyone know of a css code I could plug in there to make work?

                          I tried this and same thing, it worked in firefox but not ie
                          <tr style="height:a uto;">

                          Comment

                          • Chris F.A. Johnson

                            #14
                            Re: Using the * for dynamic height

                            On 2008-08-05, Rabel wrote:
                            Does anyone know of a css code I could plug in there to make work?
                            Plug in where? Please be aware that you are posting to Usenet, not
                            just Google groups.

                            Usenet is a world-wide network of servers which usually delete
                            messages after a certain period of time. The preceding messages in
                            a thread may not be visible.

                            Please include enough context from previous posts so that the
                            message stands on its own.
                            I tried this and same thing, it worked in firefox but not ie
                            ><tr style="height:a uto;">

                            --
                            Chris F.A. Johnson <http://cfaj.freeshell. org>
                            =============== =============== =============== =============== =======
                            Author:
                            Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

                            Comment

                            • David E. Ross

                              #15
                              Re: Using the * for dynamic height

                              On 8/5/2008 10:59 AM, Rabel wrote:
                              Does anyone know of a css code I could plug in there to make work?
                              >
                              I tried this and same thing, it worked in firefox but not ie
                              <tr style="height:a uto;">
                              You still have XHTML errors, and your Web server is still serving the
                              page as HTML and not XHTML. Fix these problems first.

                              Then, eliminate all use of "height" as an element attribute and a CSS
                              property. By default, all heights are "auto" if "height" is not
                              specified.

                              --

                              David E. Ross
                              <http://www.rossde.com/>

                              Q: What's a President Bush cocktail?
                              A: Business on the rocks.

                              Comment

                              Working...