SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist
    Join Date
    Apr 2003
    Location
    lisboa
    Posts
    423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    table border height with css

    hi
    is there a way to paint a table border with css, like
    table {
    border: #fc4;
    border-size: 10px;
    }
    i know this example doesnt work (except for the border color, not height)
    How to do it?
    thanks

  2. #2
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's border-width, not border-size.
    ck :: bringing chris to the masses.

  3. #3
    SitePoint Wizard
    Join Date
    Mar 2002
    Location
    Bristol, UK
    Posts
    2,240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A quicker way of doing this would be:

    Code:
    table {
      border: #FC4 10px;
    }
    -Sam
    Sam Hastings

  4. #4
    SitePoint Evangelist
    Join Date
    Apr 2003
    Location
    lisboa
    Posts
    423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    of course! width!!
    well, thanks to you both for helping

  5. #5
    SitePoint Evangelist
    Join Date
    Apr 2003
    Location
    lisboa
    Posts
    423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oops..
    onemore question, pls:
    is there a way, since width is large (10px) to avoid that shadow efect in 2 of the sides of the table, making equal all qround?
    thanks once more

  6. #6
    SitePoint Evangelist
    Join Date
    Apr 2003
    Location
    lisboa
    Posts
    423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oops once again: the answer is here:
    http://www.sitepointforums.com/showt...787#post959787


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
  •