Questions tagged [cellspacing]

Cellspacing is the amount of space in between the individual table cells.

Cellspacing is the amount of space in between the individual table cells means space between each column and rows.

53 questions
52
votes
6 answers

Why are cellspacing and cellpadding not CSS styles

I don't know why this bothers me so much, but when I create websites, I always try to do all my styling with CSS. However one thing I always have to remember to do when I'm working with tables is add cellspacing="0" and cellpadding="0" Why is there…
Ryan Smith
  • 8,344
  • 22
  • 76
  • 103
40
votes
7 answers

Cannot put margin on tag with neither CSS nor cellspacing attribute

For whatever reason, I have been unable to get any table cells to have margin between them. I want the table cells to have a grey background colour (over a white page background) so it looks like tiles with white between them. I tried in the…
jeffkee
  • 5,106
  • 12
  • 44
  • 76
31
votes
3 answers

How to evenly space out radiobuttons in Android?

I have three radiobuttons and I want to evenly space them across the screen. When I use android:layout_weight="1", the buttons are stretched out across the screen. So how would I have the same amount of space in between each of them that also scales…
rasen58
  • 4,672
  • 8
  • 39
  • 74
30
votes
1 answer

Remove spacing between cells in tablelayoutpanel in Windows form?

I've programmatically created a class, Map, that inherits from the TableLayoutPanel class. The Map class adds Tile objects (children of Panel) that each have a background image. Everything works except that there is a noticeable space between each…
Zooey
  • 421
  • 1
  • 4
  • 10
29
votes
5 answers

Html: Difference between cell spacing and cell padding

What is the difference between cell spacing and cell padding?
Explorer
  • 301
  • 1
  • 3
  • 4
14
votes
3 answers

HTML / CSS formatting: TRUE spacing between cell <-> cell, not between cell <-> any

I'm looking for hints regarding the spacing between table cells. I'm aware of cellspacing / cellpadding in HTML and their CSS equivalents border-spacing / padding, but they're doing more that what I would expect when going by their names. What I…
MrCC
  • 714
  • 8
  • 20
9
votes
1 answer

NSOutlineView Group spacing

I'm working on a NSOutlineView (SourceList) and want the replace the current styling with my own to get a better look for my app. I've changed the default header and content cells with custom NSTableViewRows. This works fine. But now I can see a…
Alex
  • 283
  • 1
  • 2
  • 5
9
votes
2 answers

How to set cellspacing in tables only horizontally

I would like to style the table written below.
Month Savings
January $100
The problem is that cellspacing sets the…
Borut Flis
  • 15,715
  • 30
  • 92
  • 119
7
votes
7 answers

spacing between UITableViewCells swift3

I am creating a IOS app in swift and want to add spacing between cells like this I would like to give space of each table view cell same like my attach image. How I can do that? and Right now all cells are coming without any space. swift3
Ankit Kumawat
  • 75
  • 1
  • 1
  • 6
6
votes
4 answers

WPF: How to implement custom Grid with CellSpacing?

I miss the HTML-cellspacing in WPF. Im trying to implement something similar in WPF's Grid by making a custom Grid-class overriding from Grid and then modifying MeasureOverride and ArrangeOverride to get the behaviour I want. Which is that each cell…
Andreas Zita
  • 7,232
  • 6
  • 54
  • 115
4
votes
1 answer

Is Flying Saucer's treatment of images in cells a bug?

I managed to whittle my example down to the following (it uses some reasonably hefty data URLs but stackoverflow should flow them off the side nicely...): static { String oldValue = System.getProperty("java.protocol.handler.pkgs"); if…
Hakanai
  • 12,010
  • 10
  • 62
  • 132
3
votes
2 answers

Stacking two characters vertically in a table with no space between them

This should be really simple, but I can't figure it out. So: how do I get these two characters to merge up in a table? 〳 1st row, U+3033 VERTICAL KANA REPEAT MARK UPPER HALF 〵 2nd row, U+3035 VERTICAL KANA REPEAT MARK LOWER HALF Those are used…
lambshaanxy
  • 22,552
  • 10
  • 68
  • 92
3
votes
2 answers

Using Classes to Style in CSS

I've got a table, and inside of the table are elements. I would like to give the table one class "chart" and then style all of the elements that are inside of that table by giving them padding. Is this possible? I was thinking something…
Jazzepi
  • 5,259
  • 11
  • 55
  • 81
2
votes
2 answers

Set CSS cell-spacing for TD

So I have this certain table. I know I'm not supposed to use table for layout, but in this case I'm forced to. I need to style a specific TD's cell-spacing (the TD with the class .ritey). I know I have to target the TABLE to set its cell-spacing,…
deathlock
  • 2,756
  • 5
  • 27
  • 48
2
votes
2 answers

Equal spacing between columns & borders of a table

I've got an outer table with three columns. Each cell contains an inner table. The outer table and the inner tables all have borders. I want an equal amount of horizontal space between the outer table's left border and the first inner table, between…
Jonathan Sachs
  • 613
  • 8
  • 19
1
2 3 4