I am with this HTML and it all elements li.gradient-top seem to have an edge right
I’ve checked on several debugger tools but do not know why he’s putting the margin between an li element and another li.
How to remove this margin?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That is not margin but a space character. Since these are inline elements, whitespace is displayed between them if it exists in the markup. Remove the whitespace from the html. Eg:
Becomes:
If you don’t want to change the markup, you can try applying
float: leftto the<li>elements.