Results 1 to 5 of 5

Thread: Tightening Tables..

  1. #1
    Join Date
    Oct 2009
    Posts
    25
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Exclamation Tightening Tables..

    Hi all,

    I am working with tables, and on the site I am working on:
    http://pencil2print.net/doctor/bulbs.html

    The first table box appears to be spaced too wide, height wise, compared to the other tables.

    I can't figure out how to tighten up the cells so there isnt a gap below and above the type? (make it one line, instead of 3 lines?)

    I hope this makes sense.. I want to shorten the table so there's no gaps in the cells..

    help?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Delete the 'cellpadding' attribute.

    Good luck.
    Jeremy | jfein.net

  3. #3
    Join Date
    Oct 2009
    Posts
    38
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    try to set the cellpadding and cellspacing attributes(of table) to zero(0)

  4. #4
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    The reason for the extra spacing below the text is because of the <p> tag inside your table cells, remove this and your tables should be fine.

    Example:
    Code:
    <p class="MsoNormal"><font face="Arial" size="3">52 Fire Fighting Car</font></p>
    Should become:

    Code:
    52 Fire Fighting Car
    Also control font styles with CSS for better updating.

  5. #5
    Join Date
    Oct 2009
    Posts
    25
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    thanks, I'll try that

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
  •