css issue on cordova (different bottom border width of li)?

I try to make simple list with bottom line on each item. It looks like all good in chrome browser but I get diferent lines thickness on Android 4.0.4 (cordova uiwebview):

CSS:

ul {
    list-style-type: none; margin: 0px; padding: 0px;
}

li {
    border-bottom: 1px solid silver !important;
}

HTML:

<ul>
    <li>
        Some text
    </li>
    <li>
        Some text again
    </li>
    <li>
        Another text bla bla bla bla bla bla bla bla bla bla 
    </li>
    <li>
        Another text again
    </li>
    <li>
        Some another text bla bla bla bla bla bla bla bla bla bla 
    </li>
    <li>
        Some another text again bla bla bla bla bla bla bla bla bla bla 
    </li>
    <li>
        Some text bla bla bla bla bla bla bla bla bla bla 
    </li>
    <li>
        Some text bla bla bla bla bla 
    </li>
    <li>
        Some text bla bla bla bla bla bla bla bla bla bla 
    </li>
    <li>
        Some text bla bla bla bla bla bla bla bla bla bla 
    </li>
    <li>
        Some text bla bla bla bla bla 
    </li>
    <li>
        Some text
    </li>
    <li>
        Some text
    </li>
</ul>

I had tried to reset user agent stylesheet settings but it not helps

Answers


Using JavaScript to set the list item height to be an even number (as close as possible to the list item's real item height) will solve this problem perfectly when rendering! For example:

$.each(liArr, function(idx, li){
    $Li = $(li);
    height = parseInt($Li.height());
    if(height % 2 != 0) $Li.height(height +1);
});

Need Your Help

how can I change the email and name from the sender?

c# .net asp.net-mvc email asp.net-mail

I try to create a contact form in mvc 4, it's work but the sender (email and name) is always the same that I use in my credentials for the smtp, I want to display the email and the name of the user...

getting difficulty in passing parameter in ajax-jquery function?

javascript ajax jquery-ui jquery

I want to pass value of i as a parameter for autosuggest. My intention is to pass value of i starting from 1960 to till date.