CSS Question...

Discussion in 'HTML' started by Kian, Jul 25, 2003.

  1. Kian

    Kian Guest

    Hi there,

    I would like to transfer my table's style to CSS. The table is as below...

    < Table WIDTH="100%" CELLPADDING="4" CELLSPACING="0" BORDER="0">

    Can somebody here show me how to use CELLSPACING style in CSS?

    table.Outer
    {
    width: 100%; /*WIDTH="100%"*/
    padding: 4;/*CELLPADDING="4"*/
    ???????? /*CELLSPACING="0"*/
    border: 0;/*BORDER="0">*/
    }

    Thanks,
    Kian
     
    Kian, Jul 25, 2003
    #1
    1. Advertising

  2. Kian

    Sid Ismail Guest

    Sid Ismail, Jul 25, 2003
    #2
    1. Advertising

  3. In article <co0Ua.37335$>,
    Kian wrote:
    > Hi there,
    >
    > I would like to transfer my table's style to CSS. The table is as below...
    >
    > < Table WIDTH="100%" CELLPADDING="4" CELLSPACING="0" BORDER="0">
    >
    > Can somebody here show me how to use CELLSPACING style in CSS?
    >
    > table.Outer
    > {
    > width: 100%; /*WIDTH="100%"*/
    > padding: 4;/*CELLPADDING="4"*/


    You meaned padding:4px; unit is must when non zero value.

    > ???????? /*CELLSPACING="0"*/
    > border: 0;/*BORDER="0">*/
    > }


    border-spacing:0px . But that don't work on IE. use
    border-collapse:collapse instead.

    --
    Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
    Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
    tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.
     
    Lauri Raittila, Jul 25, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric
    Replies:
    4
    Views:
    749
    clintonG
    Dec 24, 2004
  2. tom watson

    print.css and screen.css

    tom watson, Sep 9, 2003, in forum: HTML
    Replies:
    1
    Views:
    483
    Jukka K. Korpela
    Sep 9, 2003
  3. Replies:
    6
    Views:
    565
    Jonathan N. Little
    Mar 18, 2006
  4. AF
    Replies:
    17
    Views:
    617
    Nije Nego
    Aug 9, 2006
  5. richard
    Replies:
    12
    Views:
    774
    dorayme
    Mar 9, 2010
Loading...

Share This Page