Table Height Attribute

Discussion in 'JavaScript' started by mosarani, Sep 9, 2007.

  1. #1
    I'm trying to make a somewhat ghetto sidebar with my basic understanding of javascript. I have a list of links that will appear on the left against a solid color background, then an empty image of that color with a border which will extend to be parallel with the bottom of the center content, which varies between pages.

    Is it practical to use javascript to get the height of the <div> or <table> tag in the center content and use it to stretch the picture on the left to the appropriate height? If so what's a function I could use to find the height and then to apply it to the image size?
     
    mosarani, Sep 9, 2007 IP
  2. temp2

    temp2 Well-Known Member

    Messages:
    1,231
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    150
    Digital Goods:
    2
    #2
    object.style.height
    Code (markup):
     
    temp2, Sep 11, 2007 IP