Admin Forum:Table problems
Talk0
79,380pages on
this wiki
this wiki
This Forum has been archived
Forums: Admin Central Index → Technical Help → Table problems
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
I'm trying to use a nested table to allow multiple collapsible sections here but I'm getting big gaps in my table. Is there any way of shrinking these gaps or even losing them altogether? Or can anyone else find an easier way of doing this?
Thanks
MTracey1 PSN/XBL: Mackem1985 {{SUBST:MTracey1Sig}} 04:14, May 31, 2012 (UTC)
- Do you mean gaps like the one circled in orange on this image?
- If so, your problem is the class
wikitablewhich you have used in each table. Thewikitableclass is styled with default top, bottom and right margin widths of 1em. This margin is what causes the gap between tables. --Gardimuer { ʈalk } 04:34, May 31, 2012 (UTC)
(Reset indent) Thanks, but I'm not entirely sure where you want me to put "padding-top-10px". Does it go in the table, or in the Common.css file?
- Problem solved. Putting
margin: 0 0 0 0;within the "style" parameter of the table was enough to override the wikitable's default margins. Thanks for the help people. MTracey1 PSN/XBL: Mackem1985 {{SUBST:MTracey1Sig}} 05:16, May 31, 2012 (UTC)