css table cell margin

Ads
 

css table cell margin

How can i put margin between two columns(cell margin)?

View Answers

March 19, 2011 at 11:45 AM

In your CSS you can set the desired margin between two cells as given below..

padding-right:10px;

March 19, 2011 at 11:47 AM

now you need to call this css into your td to set the margin between cells. See how you can include it in your code.

<table>
<tr>
<td style="padding-right:10px">data</td>
<td>Add more data</td>
</tr>
</table>

Ads









Related Tutorials/Questions & Answers:
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... this css into your td to set the margin between cells. See how you can include
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
Advertisements
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
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
ModuleNotFoundError: No module named 'table_string_sqlite_cell'
ModuleNotFoundError: No module named 'table_string_sqlite_cell'  Hi...: No module named 'table_string_sqlite_cell' How to remove the ModuleNotFoundError: No module named 'table_string_sqlite_cell' error? Thanks  
ModuleNotFoundError: No module named 'table_string_sqlite_cell'
ModuleNotFoundError: No module named 'table_string_sqlite_cell'  Hi...: No module named 'table_string_sqlite_cell' How to remove the ModuleNotFoundError: No module named 'table_string_sqlite_cell' error? Thanks  
uitableviewcell margin
uitableviewcell margin  How to add the desired margin to UITableViewCell in iPhone application?    - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell
CSS
style sheet validates at Note that some warnings may be unavoidable, but your CSS
css
in another page. (f) Create a table, containing the subject code, subject name
css
in another page. (f) Create a table, containing the subject code, subject name
css
in another page. (f) Create a table, containing the subject code, subject name, Grade
How to make a horizontally Scrollable grid in jsp using div, table, css, javascript?
How to make a horizontally Scrollable grid in jsp using div, table, css, javascript?  In a jsp page InsertUpdate.jsp (say) there is a button Insert... to display a record of 30 columns.Since the grid is made of table it becomes
indent div css
indent div css  How can i indent with outer and inner margin.../answers/viewqa/HTML/17553-indent-div-css.html :Indent DIV in CSS with left and Middle margin
indent div css
Div file in css  How can i indent div with outer and inner margin... it in another div. For example, make the outer div margin: 0 auto; and the inner div margin-left: 50px That will indent its left margin by 50 pixels from the middle
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
change content of cell javascript
change content of cell javascript  change content of cell javascript
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
table
table  multiplicatyion table
Custom Cell View UITableview
Custom Cell View UITableview  How can i get two custom cell view in UITableView
Table
Table  How i generate table in showMessageDialog. I want that i creat a table and run in showMessageDialogeprint("cprint("code sample");ode sample
ModuleNotFoundError: No module named 'cell'
ModuleNotFoundError: No module named 'cell'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'cell' How to remove the ModuleNotFoundError: No module named 'cell' error
Table
Table  How I generate table in showMessageDialog. E.g 3X1=3 3X2=6 3X3=9print("code sample
Table
Table  How i generate table in showMessageDialog. I want to creat a table and run in showMessageDialoge. Pl make a table programe which run..., JOptionpane, Integer.parseInt. Please use only these above methods to make table
table
input from oracle table(my database table..) This is a very important table of my
table
table  Hi..I have a list of links which links to a table in the same page.If I click first link the table is displayed at the top, likewise if i click the last link the table is displayed at the last,i dont know how to set
Table
Table  How i generate table in JOptionpane.showMessageDialog... advance coding but i want u make the table using JOptionpane.showMessageDialog, import.javax.swing int Integer.parseInt(). Thats my limit. Pl generata a table

Ads