![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello All, I would like to "pad" the rows of my table. Cellpadding and Cellspacing aren't an option cause they affect both the horizontal as well as vertical axis. So I used to do essentially a row with nothing more than one in it. Then I realized thta if I removed the my padding got smaller, and I could use 2 or 3 and get more precise. So my question is, is this row: tr><td></td></tr Or could not having the in there cause a problem? |
#3
| |||
| |||
|
|
SergioQ wrote: Hello All, I would like to "pad" the rows of my table. Cellpadding and Cellspacing aren't an option cause they affect both the horizontal as well as vertical axis. So I used to do essentially a row with nothing more than one in it. Then I realized thta if I removed the my padding got smaller, and I could use 2 or 3 and get more precise. So my question is, is this row: tr><td></td></tr Or could not having the in there cause a problem? Answered in comp.infosystems.www.authoring.stylesheets td { padding-left: 1em; padding-right: 1em; } Well, no, he wanted spacing between rows: |
#4
| |||
| |||
|
|
Jonathan N. Little wrote: SergioQ wrote: Hello All, I would like to "pad" the rows of my table. Cellpadding and Cellspacing aren't an option cause they affect both the horizontal as well as vertical axis. [...] Answered in comp.infosystems.www.authoring.stylesheets td { padding-left: 1em; padding-right: 1em; } Well, no, he wanted spacing between rows: td { padding-top: 1em; padding-bottom: 1em; } or some such thing. |
#5
| |||
| |||
|
|
Or table { border-spacing: 0 1em } (where supported) |
![]() |
| Thread Tools | |
| Display Modes | |
| |