Board Thread:Support Requests - Designing Your Wiki/@comment-35592090-20200101021448/@comment-9605025-20200101044653

All the more reason to keep it neat. If you see something change, how do you know what changed it if you can't tell what is what in the CSS? Different CSS rules can interact with each other and sometimes the order matters. So if you have a bunch of random test CSS laying around, it makes it harder to tell if the CSS your are trying to test actually does what you want or if it is behaving the way it is because it is interacting with something you were "just testing".

Moving on to your specific issues, you can get the border to show around your TOC by removing the following CSS. As for your header issue, you can fix that by simply excluding portable infoboxes. You do this using. Below is a revised version of the relevant CSS.