How to define cellspacing in CSS


Tags: html,css,html-table

Problem :

I want to create a table, where cellspacing is set to 0. Currently I have the following HTML which works correctly. But I want to put the cellspacing to the CSS, but can't find the correct style for it.

<table class="overviewGrid" id="OrderTable" cellspacing="0px">
</table>

Can anybody help me? Thx in advance



Solution :

table {
  border-collapse: collapse;
}

    CSS Howto..

    How to wrap text to the next line inside a DIV and not go off the screen

    how can I center the image in my div? (so far the left border of my img is centered)

    How to perfectly center a “plus” sign in a circle using CSS

    How to put text on placeholder image

    How does this CSS produce a circle?

    How do I convert HTML to inline CSS in Google AppEngine?

    How to only change left padding in javafx css

    How to export only the used css from a site?

    How to style a particular paragraph element in css without effecting the other paragraphs in the same class?

    How can I resize svg using CSS?

    How to create multiple columns in a div

    How to refactor CSS based on HTML class

    How to center my

    text using css?

    How to define alternative font-family corresponding to font-size CSS

    CSS - How to align divs horizontally?

    How to have background color outside of radius border in a tbody in chrome?

    How to resolve css incompabilities/differences between different versions of IE?

    How to change css style of input and some text in one function?

    How to make multiple divs always fill out the whole browser size?

    Div inside how to call class in css?

    How come one of my columns in bootstrap is not functioning properly?

    Live search div not showing up when something is entered

    How is the “greater than” or “>” character used in CSS?

    How to add arrow beside some links in CSS?

    How to make jQuery show() stay on page

    how to create a rotateY animation via jQuery and css 3

    How to use HTML classes and ID's

    How can I remove hover style in CSS

    Drupal 7.x: how to apply styles to RSS feed in node?

    Css Trick - How to align this div