Jump to content

User:Peterwhy/Sandbox2

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Main 1
Main 2
Sub 3-1
Sub 3-2
3-3This sub-table lost the space between border due to border-collapse, and also might receive extra padding if main <td> has some padding
Main 4
Sub 5-1
Sub 5-2
5-3This sub-table does not declare border-collapse, and while this retains space between table cells, this adds even more border-spacing between <table> and <tbody>
Main 6
Sub 7-1
Sub 7-2
7-3Best I could do using margin:-3px; to offset the border-spacing, padding:0px; to remove padding set by .infobox class, but this does not work well in narrower sub-boxes like below
7-4This might be good if you really use this as a sub-section and do not mind the shrinkage, but bad if you use this for collapsible table section
Main 8
Main 10
11
Sub 11-1
11-2Sub-label
11-3This might also be another use?