Results 1 to 2 of 2

Thread: Possible to fix the size of table?

  1. #1
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Possible to fix the size of table?

    I'm not just talking about setting the width and height of the table, but rather is there a way to fix the width and height so that no matter what text is entered in it, it will still remain at the specified size?
    It's ok if the text is cut off, i need to keep the integrity of the page.

    2nd question, anyway to set a maxlength no. of words in a column?

    Thanks

    p/s: I got it now, the solution is to use <div overflow: hidden>.
    Last edited by tottijohn; 05-18-2007 at 03:00 AM.

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    in all standards compliant browsers, you can use max-width, max-height and property.

    you shouldn't use overflow: hidden? you can specify the maximum's but if there is more content, you should have it scroll ? maybe?

Bookmarks

Posting Permissions

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