Results 1 to 3 of 3

Thread: setting 50% of table cell border

  1. #1
    Join Date
    Jun 2008
    Posts
    192
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default setting 50% of table cell border

    Is there a way to set the border style of a table in CSS such that not the full length of the border is highlight. For example, let's say I wanted a solid black border on the bottom of my table cell, but I wanted it only for 50% of the border (centered) as in the attached image. Is that possible with CSS?

    Click image for larger version. 

Name:	50% border.jpg 
Views:	213 
Size:	6.8 KB 
ID:	5592

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there gib65,

    a possible solution may be found here...



    coothead

  3. #3
    Join Date
    Jun 2008
    Posts
    192
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    Thanks coothead

Similar Threads

  1. Setting border around an image?
    By Danny1987 in forum JavaScript
    Replies: 1
    Last Post: 08-22-2010, 04:47 PM
  2. setting maximum width for table cell
    By gib65 in forum CSS
    Replies: 3
    Last Post: 04-22-2010, 01:18 AM
  3. Replies: 4
    Last Post: 04-09-2007, 07:58 PM
  4. Replies: 2
    Last Post: 12-25-2005, 11:38 AM
  5. cell border being highlighted
    By mcpalmer in forum JavaScript
    Replies: 4
    Last Post: 04-11-2005, 06:10 PM

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
  •