This isn't a perfect solution, as it uses padding instead of border spacing. Possibly it will work for your problem though HTML: table> Data 1 Data 2 Data 3 Data 4.
This isn't a perfect solution, as it uses padding instead of border spacing. Possibly it will work for your problem though. HTML: Data 1 Data 2 Data 3 Data 4 And the CSS: table { border: 1px red solid; border-collapse: separate; } td { background-color: green; border: 1px black solid; padding: 10px; } td:first-child { padding-left: 0px; } td:last-child { padding-right: 0px; } tr:first-child td { padding-top: 0px; } tr:last-child td { padding-bottom: 0px; } Produces: Also on jsFiddle.
Actually, that looks precisely like what I am looking for - I was not aware that there is a last-child pseudo-class. – Software Monkey Jun 15 at 5:19 Yes, but I warned you: It only works > IE8. :( – Kirk Woll Jun 15 at 5:20.
Can you fiddle with the markup to add . First to the first cell in a row and . Last to the last, and I guess also to the first and last rows, and then pad appropriately?
Not realistically - it would be a significant effort and a maintenance nightmare. – Software Monkey Jun 15 at 5:17.
I want to have a table with padding between each of the cells, but not around the outer edge cells, that is, not around the table itself. Gives no padding anywhere. Attempting an alternate approach, I can get padding solely between the cells horizontally using a td + td selector.
However I can't use a tr + tr selector because it seems tr ignores margin, padding and border rules. And, of course, padding on a plain td selector applies to all cells, even the outer-edges of the outer cells. This only has to work for current-generation browser - no IE 6 or 7 for me thank you very much.
And I am not going to loose any sleep over IE 8, though it would be nice if that worked.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.