
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 598 Articles for Front End Scripts

83 Views
The table-layout property is to help you control how a browser should render or lay out a table. This property can have one of the three values: fixed, auto or inherit.ExampleYou can try to run the following code to implement CSS table-layout property table.auto { table-layout: auto } table.fixed{ table-layout: fixed } 1000000000000000000000000000 10000000 100 1000000000000000000000000000 10000000 100

200 Views
The following image justifies the difference between collapse and separate. The separate value of the border-collapse property separates the borders of the cells:ExampleYou can try to run the following code to understand the difference between border-collapse separate and collapse value: table.one { border-collapse:collapse; } table.two { border-collapse:separate; } td.a { border-style:dotted; border-width:2px; border-color:#000000; padding: 20px; } td.b { border-style:solid; border-width:2px; border-color:#333333; padding:20px; } Border Collapse India Australia Border Separate India Australia

69 Views
The border-spacing specifies the width between table cells. It can take either one or two values; these should be units of length.ExampleYou can try to run the following code to set the width of table cells: table.one { border-collapse:separate; width:300px; border-spacing:15px 40px; } The border-spacing property India UK

155 Views
The empty-cells property specifies whether the border should be shown if a cell is empty. It indicates whether a cell without any content should have a border displayed.ExampleThis property can have one of the three values show, hide or inherit. table.empty{ width:400px; border-collapse:separate; empty-cells:hide; } td.empty{ padding:5px; border-style:solid; border-width:1px; border-color:#999999; } Title one Title two Row Title R1T1 R1T2 Row Title R2T1

55 Views
The caption-side property allows you to specify where the content of a element should be placed in relationship to the table.ExampleThis property can have one of the four values top, bottom, left or right. Let us seen an example to learn how to implement caption-side property: caption.top { caption-side:top } caption.bottom { caption-side:bottom } Countries (Top Caption) India UK US Australia Countries (Bottom caption) India UK US Australia