SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Apr 2002
    Posts
    523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    what is border-collapse

    Please tell me when I should use this!

    border-collapse:collapse

    Also Please explain to me

    Thank you

  2. #2
    SitePoint Evangelist
    Join Date
    Oct 2001
    Posts
    439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you use it with tables.....
    it is supposed to merge joining borders into one.....so that they are not drawn seperately.......

    I have never actually used it in a practical sense........never seen a need to......

    cheers

  3. #3
    SitePoint Enthusiast Morris Cornet's Avatar
    Join Date
    Jun 2002
    Location
    The Netherlands
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For a start: http://www.w3.org/TR/REC-CSS2/tables...apsing-borders

    There are two distinct models for setting borders on table cells in CSS. (...) Many border styles can be achieved with either model, so it is often a matter of taste which one is used.

  4. #4
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  5. #5
    My precious!!! astericks's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, BC
    Posts
    1,971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: what is border-collapse

    Originally posted by itohideo
    border-collapse:collapse
    I used them only a few days ago, in fact, I asked the question right here.

    The thing is, when you give a table a border value of 1, you can see that the borders appear kinda thick. Compare them with a 300px by 1px picture..of a line...they look different dont they?

    the 'border-collapse:collapse' feature actually makes the borders appear thinner...like here [check out the table with the grey table header]

    I hope this helps.
    asT.


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
  •