-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline horizontal button #88
Comments
You can group your buttons with Based on the code you shared, it would look roughly like this:
then a little bit of css to get your buttons aligned:
This code is untested, but the general idea should help you get started. |
i have already done this but not work my css for leafletbar it move this bar to top but button didn't in one line @atstp |
the code you shared adds each button separately. Based on what you're describing, you need to use an
This will group the buttons under a parent element that you can then style to fit your needs. |
@atstp as i said above i have completely done this code you mentioned but when i add my css to leaflet bar it move this bar on top but button inside it didn't in one line |
okay, in that case, I need a bit more info to give you better guidance. First, what do you think is causing your issue, and what have you already tried to resolve it? Also, if you share a minimal, running example, that would make it easier for me to help you. |
@atstp |
thanks! What have you tried that has not worked? what did you expect, and what results did you get? |
done i have just fixed my problem thanks for help |
@shinnobi : can you update your jsfiddle? or show the styling snippet here? thanks |
@shinnobi You committed one of the most cardinal sins of google searches: "I fixed it!"... And you didn't provide the fix. Please. Provide. The fix. |
sorry for late commend i upload this code http://jsfiddle.net/w47s96pt/ for inline button |
i want to create inline horizontal buttons ( default is vertical) how to do that (ie. add class to button)
my code is below
The text was updated successfully, but these errors were encountered: