Fixed Sized Table

Discussion in 'HTML & Website Design' started by ranacseruet, May 15, 2009.

  1. #1
    hi, is there any way to make the talbe size fixed? Now, although i define its width & height, it expands depending on the contents. Also, I don't want to use div instead of table tag as its already built, so plz don't suggest that. Thanks in advance
     
    ranacseruet, May 15, 2009 IP
  2. bigmny4you

    bigmny4you Peon

    Messages:
    113
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    we need to be able to see the table. where is it located (url).
     
    bigmny4you, May 15, 2009 IP
  3. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello.

    A table will always grow if its contents demand a greater size than what you fixed. Let us say that you fixed a width of 100 px, but you put inside it a picture with a width of 200 px. The width of the table will grow to accommodate the picture.

    See this tutorial:

    Tables tutorial
     
    TechnoGeek, May 18, 2009 IP
  4. ranacseruet

    ranacseruet Peon

    Messages:
    302
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hmm, so, i must have to use div to make fixed size
     
    ranacseruet, May 18, 2009 IP