How to set table's style?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
jimmychuang
Forum Members
Forum Members
Posts: 76
Joined: Sun Aug 13, 2006 5:35 pm

How to set table's style?

Post by jimmychuang »

Hi,

I want to set a table's cellpadding & cellmargin both=0.

How can I set it up?

You can see what I just did below, and it won't make a table's cellpadding&cellmargin to zero.

    table#banner {
        width: 760px;
        margin:  0px 0px 0px 0px;
cellpadding: 0;
cellspacing: 0;
        text-align: center;
  border-right: 0px;
  border-left: opx;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
    }
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: How to set table's style?

Post by tsw »

see the definitive source

http://www.w3.org/TR/CSS21/tables.html
Post Reply

Return to “Layout and Design (CSS & HTML)”