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 set a background image in rails from css?

    How can I create div with an opposite-curved bottom

    How to load user CSS in a WebKit WebView using PyObjC?

    Show image in a div tag with it's real size using jquery/css/html

    How to render checked checkboxes using CSS alone?

    How to put a button inside of a text entry field in a form on a website using javascript, css, html

    How to replicate {cursor: hand; cursor: pointer} in jQuery

    How to set multiple css using jquery animate function

    How to style a custom TreeCell with CSS in ScalaFX?

    How to move this button?

    How to make css smaller?

    Bootstrap tooltip showing behind modal window

    How to maintain an icon font from SVG files

    How to apply CSS to 2x2 classes?

    How to make Visual Studio stop “compiling” .js and .css files

    How do i make a flexible div with a background in css

    How do I format an angular drop down menu?

    How to align 2 divs inside one div container with CSS (see image)

    Trying to show list items vertically but two items horizontally

    How to make an external HTML file not appear in the home page?

    How to set z-index in css?

    How to autoprefix css files generated by less, in Webstorm?

    How to default toggle to open using css/jquery?

    How to get access to file css in JSF 2.0

    How can I make browser scale image frames according to CSS before loading actual images into frames?

    Showing a demo of my CSS on any website

    how to resize background image of body in aspx page

    how to get the cssText of external style?

    How to change background [closed]

    How to make menu fold like paper using CSS?