Results 1 to 2 of 2

Thread: table borders

  1. #1
    Join Date
    Oct 2008
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default table borders

    how can I make a table with only inside borders?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Well, do you mean you only want borders around the cells inside the table, or just around the outer <table> portion?

    If the former, just you border attributes on your <td> or <tr> as needed. If they become jumbles you can also use the border-collapse: collapse; attribute. This will make touching borders into a single one.

    If the latter, set each border (top, left, right, bottom) with a negative off set.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •