Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Why we use cellpadding and cellspacing in CSS with some example?
Question Posted on 11 Jul 2021

Home >> WEB >> Styling With CSS3 >> Why we use cellpadding and cellspacing in CSS with some example?




Why we use cellpadding and cellspacing in CSS with some example?
In CSS we use cellpadding and cellspacing for page or any element display setting this is basically used for page display and settings. Here in below example we have applied both of these properties to table.


TableBaseCss

TableCss output
To control cellpadding in CSS we simply use padding in td column of table row:-



TDCss Code


TDCss output
We can use border-spacing for do cellspacing. And below is the code n example of that.


Table CSS Code

Table CSS output
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
The ________ operator is used for combining multiple media features together into a single media query.
Tag which provides a way to add a hook to a part of a text or part of a document is?
Inline CSS uses which attribute of the HTML element?
Which of these is not merit of external style sheet?
A responsive grid-view often has __________






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |