dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: defining a row height

  1. #1
    Join Date
    Jan 2003
    Location
    Israel
    Posts
    1,381

    defining a row height

    i have a table which i dont know in advance it number of rows,
    and i tried to set the title heigt to : height="50px"
    but what i see on screen for example is the title and the 2 rows under it in 33% each
    why is that?
    what to do?thanks in advance
    peleg

  2. #2
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    Are you using this table for text, or for other things? (Your post was a little vague.)

    You might check to make sure that you haven't set the table's height to 100%. If you have, that'll override your cell heights.

  3. #3
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Tables do not have a static height. Tables from the moment of their conception were designed to stretch with their contents. Setting a height to a table row is really like setting a minimum height. I would check to make sure there is nothing pulling on the table cells (like no css affecting it, like top or bottom of the table or another object), also the length of your contents and that there are no % heights anywhere in the table.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles