user3611219 user3611219 - 22 days ago 6
HTML Question

Bootstrap dropdown automatically capitilising menu options

Anyone know why the the menu items are all capitilised while the markup is lower-case? What can i do to stop this behaviour?

pic

Answer

You can create a custom class in your css and add it to your ul tag class

.textdeco
{
text-transform:none;
}

<ul class="dropdown-menu textdeco"...>

or directly inline

<ul class="dropdown-menu" style="text-transform:none"...>

W3Schools explains it nicely

Text-Transform