Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa HTML differences between cell spacing and cell padding
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
differences between cell spacing and cell padding
2 Answer(s)      4 years ago
Posted in : HTML


What are the differences between cell spacing and cell padding?


Advertisement
View Answers

November 2, 2010 at 2:45 PM


Hi,

Here is the answer,

Cell spacing controls the distance between the cells. To specify cell spacing and it's distance, you add the line CELLSPACING="pxl" to the <TABLE> tag so the final result looks like:

<TABLE CELLSPACING="pxl">

The pxl in the line, is replaced with the number of pixels you want between the cells.

Cell padding controls the distance between the text in the cell and edge of the cell. Cell Padding controls the distance between the text in the cell and the edge of the cell. To specify cell padding and it's distance, you add the line CELLPADDING="pxl" to the <TABLE> tag so the final result looks like:

<TABLE CELLPADDING="pxl">

The pxl is the number of pixels you want between the text and cell edge.

Thanks.



February 15, 2013 at 1:49 PM


how to defind the code of file uploading page by using spring and hibernate



Related Tutorials/Questions & Answers:
differences between cell spacing and cell padding
differences between cell spacing and cell padding  What are the differences between cell spacing and cell padding
css table cell margin
css table cell margin  How can i put margin between two columns(cell margin)?   In your CSS you can set the desired margin between two cells as given below.. padding-right:10px;   now you need to call
Advertisements
change content of cell javascript
change content of cell javascript  change content of cell javascript
Custom Cell View UITableview
Custom Cell View UITableview  How can i get two custom cell view in UITableView
editing cell in a table - JDBC
editing cell in a table  how can i edit a cell in a table and save the change to a database  Hi Friend, Try the following code: 1)updateDatabase.jsp RollNo Name Class "> "> ">
Differences between HashMap and Hashtable?
Differences between HashMap and Hashtable?  Differences between HashMap and Hashtable
VoIP Cell Phone
VoIP Cell Phone Using VoIP with Cell Phone  Before many of us came to rely on cell phones to make long distance phone calls, our only... and loved ones often living only a few hours away. When cell phones came
Height for cell in table view - UITableView
Height for cell in table view - UITableView  UITableview height for cell What is the height for cell in table view iPhone mobile application
Display of value in Tabel cell
in the table cell by defining the cell editor.The cell is having a text field and calendar.When i select a date in the calendar the date will be displayed in the cell...) The format the cell is showing when its in focus - Mon,dd,yyyy(Mar,01,2011). I
image on div or cell of table
image on div or cell of table  I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls
image on div or cell of table
image on div or cell of table  I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls
image on div or cell of table
image on div or cell of table  I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls
image on div or cell of table
image on div or cell of table  I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls
image on div or cell of table
image on div or cell of table  I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls
image on div or cell of table
image on div or cell of table  I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls
Differences between OLAPDataGrid and AdvancedDataGrid
Differences between OLAPDataGrid and AdvancedDataGrid: There are several differences which are following. 1. OLAPDataGrid control does not have a column dragging. 2. OLAPDataGrid control cell has a data which is a result of OLAPQuery
Table Empty Cell in HTML
Table Empty Cell in HTML       The Table Empty Cell in HTML define no content inside a cell of table. The code is not able to display border around the empty cell in a table
Cell Phone Locator System
Cell Phone Locator System A cell phone locator system is another milestone in the mobile technology. As the name suggests, cell phone locator system is used to locate cell phones. This technology is based on Internet and is its
Differences between session and cookie
Differences between session and cookie  What are the differences between session and cookie?   Session is stored in server but cookie stored in client. Session should work regardless of the settings on the client
JTable - Cell selection - Swing AWT
JTable - Cell selection  How to select a cell of a JTable when I clicked a button?  Hi friend, import java.awt.*; import javax.swing.table.*; import java.awt.event.*; import javax.swing.*; import
What are the differences between EJB and Spring
What are the differences between EJB and Spring   Hi, What are the differences between EJB and Spring Thanks
Passing td cell id to servlet
Passing td cell id to servlet  Hi all, I am new to JSP/Servlet .Please help. I need to send the table cell index in servlet using javascript and should be able to make a cell index to have a text - "X" / "0"only once. Here
JTable Cell Validation? - Swing AWT
JTable Cell Validation?  hi there please i want a simple example... or leave the cell empty nothing happens(the value still as it was) thank you all ... what i want i want the focus to return back to the cell when invalid value has
Setting Cell Values in JTable
Setting Cell Values in JTable       In this section, we will learn how to set the cell... about JTable. A cell is known as the format of  a row and a column in 
Getting Cell Values in a JTable
Getting Cell Values in a JTable       In this tutorial, you will learn how to get the cell values in a JTable component. It is a same as setting the cell values in a JTable
Auto fit the MS Excel cell width
Auto fit the MS Excel cell width  I am writing string in ms excel sheet via java code . Cell width is very large, and I want to auto fit the width of cell via java. Kindly help me as soon as possible. Its very urgent
insert checkbox in cell using POI api in java
insert checkbox in cell using POI api in java  I need to insert checkbox in excel cell using POI and java. Any one help me on this. Ashok S
CELL PHONE TRACKING by GPS
Cell phone tracking means knowing the current location of the mobile phone. Most of the cell phones available in the market today already come equipped... for tracking their cell phones. GPS works on radio signals sent by satellites. Since
Cell phone GPS tracking
connectivity between driver and fleet operators. Base station was dependent on the driver
How to create a JTable cell containing Image hyperlink?
How to create a JTable cell containing Image hyperlink?  I'm trying to find out how to create a JTable cell which contains Image, which should... image (cell) in the last column of my table? so that, when the image link
JTable-Selecting a given cell - Swing AWT
JTable-Selecting a given cell  I tried the previous JTableDemo program but how to select a particular cell when i know the row,column number when button is clicked
 

 

 

DMCA.com