![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi, Is it possible to have absolutely no gap between table rows? I believe it is. |
#2
| |||
| |||
|
|
On 25 Feb, 23:11, Ian Hobson <ian.hob... (AT) ntlworld (DOT) com> wrote: paulj wrote: Hi, Is it possible to have absolutely no gap between table rows? |
#3
| |||
| |||
|
|
"paulj" <mni... (AT) googlemail (DOT) com> wrote in message news:4a13e9e6-77f8-42a8-8919-465c26221f11 (AT) h25g2000hsf (DOT) googlegroups.com... On 25 Feb, 23:11, Ian Hobson <ian.hob... (AT) ntlworld (DOT) com> wrote: paulj wrote: Hi, Is it possible to have absolutely no gap between table rows? table { border-collapse: collapse; } |
#4
| |||
| |||
|
|
On 26 Feb, 00:26, "Nik Coughlin" <nrkn.... (AT) gmail (DOT) com> wrote: "paulj" <mni... (AT) googlemail (DOT) com> wrote in message |
|
table { border-collapse: collapse; } Thanks for your reply but this still leaves a pretty large gap between the rows (unless I am doing something very wrong). |
#5
| |||
| |||
|
|
On 26 Feb, 00:26, "Nik Coughlin" <nrkn.... (AT) gmail (DOT) com> wrote: "paulj" <mni... (AT) googlemail (DOT) com> wrote in message news:4a13e9e6-77f8-42a8-8919-465c26221f11 (AT) h25g2000hsf (DOT) googlegroups.com... On 25 Feb, 23:11, Ian Hobson <ian.hob... (AT) ntlworld (DOT) com> wrote: paulj wrote: Hi, Is it possible to have absolutely no gap between table rows? table { border-collapse: collapse; } Nick Thanks for your reply but this still leaves a pretty large gap between the rows (unless I am doing something very wrong). |
#6
| |||
| |||
|
|
On 26 Feb, 00:26, "Nik Coughlin" <nrkn.... (AT) gmail (DOT) com> wrote: "paulj" <mni... (AT) googlemail (DOT) com> wrote in message news:4a13e9e6-77f8-42a8-8919-465c26221f11 (AT) h25g2000hsf (DOT) googlegroups.com... On 25 Feb, 23:11, Ian Hobson <ian.hob... (AT) ntlworld (DOT) com> wrote: paulj wrote: Hi, Is it possible to have absolutely no gap between table rows? table { border-collapse: collapse; } Nick Thanks for your reply but this still leaves a pretty large gap between the rows (unless I am doing something very wrong). Paul Maybe this can help you |
#7
| |||
| |||
|
|
"paulj" <mni... (AT) googlemail (DOT) com> wrote in message news:eacd2906-3540-450a-a4a9-fd164d1397d8 (AT) e6g2000prf (DOT) googlegroups.com... On 26 Feb, 00:26, "Nik Coughlin" <nrkn.... (AT) gmail (DOT) com> wrote: "paulj" <mni... (AT) googlemail (DOT) com> wrote in message news:4a13e9e6-77f8-42a8-8919-465c26221f11 (AT) h25g2000hsf (DOT) googlegroups.com... On 25 Feb, 23:11, Ian Hobson <ian.hob... (AT) ntlworld (DOT) com> wrote: paulj wrote: Hi, Is it possible to have absolutely no gap between table rows? table { border-collapse: collapse; } Nick Thanks for your reply but this still leaves a pretty large gap between the rows (unless I am doing something very wrong). There is no gap between the rows. You may be perceiving the space above and below the content (the numbers). This is simply the normal way text is layed out. If you want to change that then you should fiddle with line-height, probably on the <td>: td {line-height: .8em} but why do you want to do this anyway? -- Richard. |
#8
| |||
| |||
|
|
paulj wrote: On 26 Feb, 00:26, "Nik Coughlin" wrote: table { border-collapse: collapse; } Thanks for your reply but this still leaves a pretty large gap between the rows (unless I am doing something very wrong). Maybe this can help you tr {margin: 0; padding: 0;} td {margin: 0; padding: 0 5 0 5;} |
#9
| |||
| |||
|
|
Petr Vileta wrote: paulj wrote: On 26 Feb, 00:26, "Nik Coughlin" wrote: table { border-collapse: collapse; } Thanks for your reply but this still leaves a pretty large gap between the rows (unless I am doing something very wrong). Maybe this can help you tr {margin: 0; padding: 0;} td {margin: 0; padding: 0 5 0 5;} 5 whats? Units are required for non-zero values. Of course, this is example only ;-) 5 units what author used. Somebody prefer |
#10
| |||
| |||
|
|
Petr Vileta meinte: Maybe this can help you tr {margin: 0; padding: 0;} td {margin: 0; padding: 0 5 0 5;} td and tr don't know "margin". tr doesn't know "padding". [1] [1] http://www.w3.org/TR/CSS21/propidx.html Yes, but I don't know if author use css2.1 or css2.0 and don't know too if all |
![]() |
| Thread Tools | |
| Display Modes | |
| |