Board Thread:Support Requests - Designing Your Wikia/@comment-26843745-20151103112952

I am designing navigation for my wiki, but I am having trouble, so I need some help. Firstly, there are annoying lines appearing in navigation. I tried many codes, but I am unable to get rid of them. Here is the screenshot: Is there any way to remove these blue things? The code I am using is:

And secondly, how can I align the content in the navigation to the center? To be more specific, I created an example via a program: I need it to look something like this. I recall that while testing CSS codes, I came up with a code that was able to do this, but I no longer remember what it was. I would be truly grateful if anyone can help me with this. ^^ Edit: Link to my wiki 