-3

Here's the gist

The links are separated in multiple lines,

I want it at the same line and centered

Expected result

Current

1 Answer 1

2

Try this one here

ul {
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
li {
    display: inline-block;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.