Great community. Great ideas.

Welcome to SEOChat, a community dedicated to helping beginners and professionals alike in improving their Search Engine Optimization knowledge.  Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: What are the differences between cellspadding and cellspacing in table

Results 1 to 4 of 4
Share This Thread →
  1. #1
    steve043 is offline Registered User SEO Chat Explorer (0 - 99 posts)
    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    What are the differences between cellspadding and cellspacing in table

    Hi friends,
    Please give me the differences between cell spacing and cells padding in Table tag in HTML .
    Please mention similarities and dissimilarities.



    Thanks & Regards
    Steve
    <snip>
    Last edited by dzine; Jan 19th, 2013 at 03:11 AM.

  2. #2
    tstolber's Avatar
    tstolber is offline SEO Consultant SEO Chat Genius (4000 - 4499 posts)
    Join Date
    Jul 2004
    Location
    Minneapolis, MN, USA
    Posts
    4,115
    Rep Power
    868
    You can look up the standard in W3C.org.

    Essentially, cell padding is like a buffer, or padding (hence the name) inside the cell. If you had a 20px X 20px cell and you had 5px cell padding, your available area inside the cell would only be 10px X 10px.
    Cell spacing is the spacing (hence the name) between cells. So if you have a row of 5 20px X 20px cells with 0 cell spacing their width will be 100px, if you add in 5px Cell spacing the width will be 120px.

    Both have uses depending on the design.

    The more modern way is to use padding and position placement with CSS 3.0 styled elements and HTML 5 mark up.

  3. #3
    fariadali is offline Registered User SEO Chat Explorer (0 - 99 posts)
    Join Date
    Mar 2013
    Posts
    24
    Rep Power
    0
    The difference of the two can be determined straight from their definition. Cell spacing refers to the space between two cells of the table whereas cell padding is defined as the space between the text within a cell and the cells border.

    In simple language. Cell spacing is the space given outside a cell whereas cell padding is the spacing within a cell

  4. #4
    Gurmeet is offline Registered User SEO Chat Explorer (0 - 99 posts)
    Join Date
    Apr 2013
    Posts
    17
    Rep Power
    0
    Cell padding is the space between the text written in a cell and the border of the cell.
    Cell spacing is the space between the two cells of the table.

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Mysql select Count in table one and rows in table 2
    By MarPlo in forum Web Design, Coding and Programming
    Replies: 2
    Last Post: Jan 14th, 2012, 07:02 AM
  2. Any differences when using 1st/first, 2nd/second, etc?
    By adamcm in forum Google Optimization
    Replies: 5
    Last Post: Jun 25th, 2010, 05:35 PM
  3. Table floating to right of another table..plz help
    By akinak in forum Web Design, Coding and Programming
    Replies: 3
    Last Post: Oct 14th, 2008, 11:54 AM
  4. Differences in www, sj and fi
    By iceglobe in forum Google Optimization
    Replies: 0
    Last Post: May 16th, 2003, 05:50 AM

SEO Chat Advertisers and Affiliates