Results 1 to 5 of 5

Thread: space in a TD

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    space in a TD

    I have a table with these attributes:

    cellspacing="0" cellpadding="0"

    Now, obviously, any TD or cell in the table will have no spacing between the text and the border.

    However, I want ONE particular TD to have cellspacing in there. Is it possible to implement this for that particular TD?

  2. #2
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    If you did that wouldn't it affect the size of the row and column too?

    You could setting the padding with CSS...

    Code:
    <td style="padding:2px;">
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  3. #3

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by punkpie_uk
    If you did that wouldn't it affect the size of the row and column too?

    You could setting the padding with CSS...

    Code:
    <td style="padding:2px;">
    I will try that this evening. Do you know if that's supported on older browsers?

  4. #4

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Thumbs up

    oh, and thanks for replying. Somehow I had a feeling it'd be you.

  5. #5
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    No problem.

    some CSS is supported in Netscape 4 but its extremely buggy. IE4+, netscape 6 and Opera 4 should be ok.

    to be honest, I'm not even sure if it'll have an effect but its worth a try...
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

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



Click Here to Expand Forum to Full Width