Results 1 to 6 of 6

Thread: TD Tag

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545

    TD Tag

    Can you control the width of a TD tag using CSS?
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  2. #2
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    yes

    td {
    // css in here
    }
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    What exactly is the syntax cpradio?

    Thanks
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  4. #4
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    Code:
    <style type="text/css">
      td {
         color:   #FFFFFF;
         background: #000000;
         //etc.
      }
    </style>
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    Thanks for your reply.

    I don't think that will control the width of the TD tag.
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  6. #6
    Addicted Member
    Join Date
    Nov 2001
    Location
    Liverpool, England
    Posts
    155
    in HTML:
    Code:
    <td style="width: 100px;"></td>
    Or use in the way mentioned above... td {width: 500px;} either in your page or in a referenced style sheet - but that will control all <td>s unless you specify classes etc.

    You can specify the width in "px", "%", "pt" or "mm", "cm" etc

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