SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast Sumi's Avatar
    Join Date
    Dec 2005
    Location
    India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Specifying Cellspacing="1" in CSS

    Hi there,

    I want to specify cellspacing="1" in table through CSS. How to do it?

    Thanks in advance
    _____________________________________________
    !!--Sumi-- !!
    Addicted to Web

  2. #2
    Non-Member
    Join Date
    Jul 2005
    Posts
    606
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use a border instead?

  3. #3
    SitePoint Enthusiast Sumi's Avatar
    Join Date
    Dec 2005
    Location
    India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I actually want to give a border of different color to table and two different colour borders for odd and even rows. So, can't specify a common border.
    _____________________________________________
    !!--Sumi-- !!
    Addicted to Web

  4. #4
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code CSS:
    table {
      border-collapse:separate; /* default */
      border-spacing:1px;
    }
    (I'm not sure about browser support, especially in IE.)
    Birnam wood is come to Dunsinane

  5. #5
    SitePoint Enthusiast Sumi's Avatar
    Join Date
    Dec 2005
    Location
    India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    "Tommy : The Encyclopedia of Web"!

    But you know, IE wanna kill me Every thing I do, I have to find an alternative for IE. As usual, its not working in IE only.
    _____________________________________________
    !!--Sumi-- !!
    Addicted to Web

  6. #6
    SitePoint Enthusiast Sumi's Avatar
    Join Date
    Dec 2005
    Location
    India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wink

    Hi Tommy, Me leaving office now. It's already late.

    But I'll get back to you regarding this tomorrow.

    Have a nice time.
    _____________________________________________
    !!--Sumi-- !!
    Addicted to Web

  7. #7
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think IE exists as a measure to prevent web designers and developers from acquiring hubris. As soon as we feel proud about something we have achieved, all we need to do is to check it in IE and we're right back down on earth again.
    Birnam wood is come to Dunsinane

  8. #8
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [quote=AutisticCuckoo;3416228 As soon as we feel proud about something we have achieved, all we need to do is to check it in IE and we're right back down on earth again. [/quote]

    Definite reality check for sure :-)

    Nadia


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
  •