1
I have a select inside button as follows:
<button type="button" class="btn btn-primary"
id="l_ns"
data-toggle="button">
Choose the N to be stage
<select id='n_selector'
class="btn btn-primary"
data-toggle="dropdown"
rel="tooltip"
data-placement="right"
aria-labelledby="dropdownMenun"
title="Choose the N to be staged"
data-bind="options: available_ns,
optionsCaption: 'Select...',
value: current_n,
event: { change: tnmChanged }">
</select>
</button>
Chromium works normally, but in Firefox it does not load the select values. When I remove the select from inside the button it loads the values, but with centralized alignment. Any hint?
Thank you
Semantically speaking, it doesn’t make sense to have a
select
within abutton
... I think you should fix that.– Sergio
It’s the same
div
insidep
. One day my CSS class inherited fromp
within thediv
and when I went to see it was that. Nor had called me that had adiv
within ap
.– Diego Souza