Need help with DIV tags.....

Discussion in 'CSS' started by bobthebuilder, Jul 20, 2006.

  1. #1
    Need help with div tags. Two qestions. First off here are the two links:

    #1 http://www.mjnails.de/test.htm
    #2 http://www.mjnails.de/test2.htm

    On #1 I have the height of the div set to 100px:

    .container {
    border: 0px;
    width:99%;
    }

    .inside {
    width:100%;
    height:100px;
    background-color: #FFFFFF;
    overflow: auto;

    This of course is to small and I know that I can change this. I would like for the div to fit 100% in the <td> that it is created in. When I do this:

    .container {
    border: 0px;
    width:99%;
    }

    .inside {
    width:100%;
    height:100%;
    background-color: #FFFFFF;
    overflow: auto;

    I get the results in #2. Both pages look alike when viewed with IE and FF.
    Also in #1 I would like for that last row to take up the rest of the page. It will not do this no matter what I try. Any suggestions? I am still learning this stuff everyday. Just for further information I passed the markup validator, http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mjnails.de%2Ftest.htm&charset=%28detect+automatically%29&doctype=Inline, but do not like my results.
     
    bobthebuilder, Jul 20, 2006 IP
  2. bobthebuilder

    bobthebuilder Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Disregard this post. Have a new issue and new thread.
     
    bobthebuilder, Jul 21, 2006 IP