define table width

Discussion in 'Javascript' started by Bob Bedford, Apr 26, 2004.

  1. Bob Bedford

    Bob Bedford Guest

    I've a site in wich I want the "footer" to appear after the content if this
    is further than the explorer window height or at the bottom of the explorer
    window if the table is little:

    let's take an example:

    window height (IE, Netscape...) 300px
    table height: 150: the footer should be at window.height - footer.height
    table height 380: the footer should be at table.height

    How can I do this in javascript and also set it in order to be placed at the
    end of the page if the browser size changes ???

    Thanks in advance
     
    Bob Bedford, Apr 26, 2004
    #1
    1. Advertising

  2. Bob Bedford

    Mick White Guest

    Bob Bedford wrote:

    > I've a site in wich I want the "footer" to appear after the content if this
    > is further than the explorer window height or at the bottom of the explorer
    > window if the table is little:
    >
    > let's take an example:
    >
    > window height (IE, Netscape...) 300px
    > table height: 150: the footer should be at window.height - footer.height
    > table height 380: the footer should be at table.height
    >
    > How can I do this in javascript and also set it in order to be placed at the
    > end of the page if the browser size changes ???
    >
    > Thanks in advance
    >
    >

    Table height is a non-starter, there is no such thing.
    Why not

    </table>
    <-- footer content here -->

    ?

    Mick
     
    Mick White, Apr 26, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AndrewF
    Replies:
    1
    Views:
    850
    Bruce Barker
    Oct 10, 2005
  2. Sean Jorden
    Replies:
    1
    Views:
    625
    laurie
    Aug 19, 2003
  3. kris
    Replies:
    11
    Views:
    901
  4. David Basford
    Replies:
    3
    Views:
    2,533
    BootNic
    Sep 30, 2007
  5. Replies:
    1
    Views:
    758
    Beauregard T. Shagnasty
    Dec 29, 2007
Loading...

Share This Page