Help - Search - Members - Calendar
Full Version: Bootstrap Dropdown on wrong side.
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
ConnorMcF
gmusic.notfound.tech
CSS file
Does anyone know what's wrong with the language drop down at the top?
When you open it, it opens on the left instead!
IPB Image
Frederiek
That's because the button and list are inside a div that has no width and thus takes up the width of its container.

Give the .dropdown a width of say 83px (the total rendered width of the button) and and float it right.
ConnorMcF
Fixed, thank you!
Frederiek
You're welcome.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.