Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jun 2017
    Posts
    153

    Smile Explain Cell Padding and Cell Spacing.

    Explain Cell Padding and Cell Spacing.

  2. #2
    Senior Member
    Join Date
    Mar 2017
    Location
    Bangalore
    Posts
    250
    Cell spacing and margin is the space between cells. Cell padding is space inside cells, between the cell border (even if invisible) and the cell content, such as text.

  3. #3
    Registered User
    Join Date
    Dec 2018
    Posts
    41
    Cellpadding is the amount of space between the outer edges of the table cell and the content of the cell. Cellspacing is the amount of space in between the individual table cells.

  4. #4

  5. #5
    Senior Member
    Join Date
    Jan 2019
    Location
    Ghaziabad
    Posts
    205
    Cell Spacing is the space between the cells and the Cellpadding is the space within the cells.

  6. #6
    Registered User
    Join Date
    Mar 2019
    Location
    Ahemdabad
    Posts
    16
    CellPadding specifies the space between the cell wall and the cell content.The cellpadding attribute of table is not supported in HTML 5.
    Cellspacing specifies the space between the cells

    Following is the example to understand better:

    <html>
    <head>
    <style>table,th,td {
    border: 1px solid black;
    }</style>
    </head>
    <body>
    This is CellSpacing
    <table cellspacing="10">
    <tr>
    <th>Animals</th>
    <th>Birds</th>
    </tr>
    <tr>
    <td>Dog</td>
    <td>Parrot</td>
    </tr>
    </table>
    <br>

    This is CellPadding
    <table cellpadding="10">
    <tr>
    <th>Month</th>
    <th>Savings</th>
    </tr>
    <tr>
    <td>January</td>
    <td>$100</td>
    </tr>
    </table>


    </body>
    </html>


    dnn software development companies:http://www.ifourtechnolab.com/dnn-software-development
    .NET Developer At iFour Technolab Pvt Ltd
    http://www.ifourtechnolab.com/

  7. #7
    Member
    Join Date
    May 2019
    Posts
    95
    Cellpadding is the measure of space between the external edges of the table cell and the content of the cell. Cellspacing is the measure of space in the middle of the individual table cells.

  8. #8

  9. #9
    Senior Member
    Join Date
    May 2015
    Location
    UK
    Posts
    260
    Cellpadding and cellspacing are two of the attributes which assist the controlling of the style and layout of the tables in web pages. Cellpadding creates whitespaces within a cell between the text and the cell border while cellspacing can be used to manage the space between the cells in a table.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.