lata lata - 1 year ago 80
CSS Question

How to remove particular cell from HTML table?

Suppose I have HTML table and I want to remove one cell from HTML table something like this:

enter image description here

I have changed cell border color to white since the border color of whole table is black so it is showing grey color. Problem is I can't remove table border so I have used border-collapse:collapse


So how can I change it in such a way that border color remains black and cell is not appeared in table?

Answer Source

You can hide the cell by setting the visibility to hidden.

http://jsfiddle.net/S5tnv/

CSS

td {
    visibility: hidden;
}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download