34 users online (1 members and 33 guests)  


  Results 1 to 2 of 2

Related

  1. Bkgd image in table cells?    Forum: Myspace Forum
    Replies: 1
  2. Image over two table cells    Forum: HTML Forum
    Replies: 5
  3. Creating Hyperlinks in Table Cells    Forum: HTML Forum
    Replies: 2
  4. Table cells    Forum: HTML Forum
    Replies: 1
  1. #1
    dj3j's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2003
    Posts
    1

    Padding individual table cells?

    Ahoy!

    I'm looking for a way of padding the text in only _certain_ cells of a table. Forgive the basic question (I did do a search around the forums and couldn't quite find what I was looking for). Is there a way of doing this? Any help would be hugely appreciated!

    Thanks!

    -- DJ3J

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hiya,

    Either use a class, eg

    Code:
    td.padded 
    {
    padding: 2px;
    }
    or set the styles inline -
    Code:
    <td style="padding: 2px;">
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread