Snippets tagged “table”
12 snippets use this tag.
- How to Add a Border Inside the TableHTML
Read this snippet if you have faced the difficulty of setting a border inside the table. In this tutorial, we suggest two methods of overcoming this problem.
- How to Add a Border-Bottom to the Table RowHTML
In this tutorial, we want to demonstrate how you can add a border only to the bottom of the table row. Read and find out what CSS property you need for this.
- How to Add Border to HTML TableHTML
Learn how to create an HTML table, how to change HTML table border style using CSS. How to add border to<div>,<h2> &<p> elements. Practice with examples
- How to Add Space Between Rows in the TableCSS
How to Create Space Between Rows in the Table-Learn to create space between two rows in the table in a super-easy way. Try examples yourself.
- How to Center the Text in the HTML Table RowCSS
In this snippet, we’ll demonstrate and explain examples of centering a text in the table row. For that purpose, you can use the CSS text-align property.
- How to Create an HTML Table with a Fixed Left Column and Scrollable BodyHTML
It is possible to create a table, which has a fixed left column and a scrollable body. In this snippet, you’ll see how this is done using some CSS properties.
- How to Handle Page Breaks when Printing a Large HTML TableHTML
In this snippet, we’re going to show how to deal with the problem connected with page break when you print a large HTML table. Use some CSS properties.
- How to Make the CSS vertical-align Property Work on the <div> ElementCSS
In this snippet, we’ll demonstrate how you can use the CSS vertical-align property with the “middle” value on the HTML <div> element. See some examples.
- How to Remove Cellspacing from Tables Using CSSCSS
CSS suggests flexible and useful properties to solve any problems that may occur. Remove the space between cells of the table with the border-collapse property.
- How to Select the First and Last <td> in a Row with CSSCSS
In this snippet, we’ll demonstrate how you can select and style individual columns of your table using the :first-child and :last-child pseudo-classes.
- How to Set Cellpadding and Cellspacing in CSSCSS
Use CSS padding and border-spacing properties for setting cellpadding and cellspacing for tables. Step by step guide with examples.
- Simple DatePicker-like CalendarPHP
A simple DatePicker-like calendar can be created using the PHP DateTime class and some basic HTML and CSS.