vendredi 25 novembre 2016

Bootstrap switch looks all wrong

We are developing a web based tool and we are using bootstrap switches.

Our switch looks like this:

enter image description here

This is the HTML:

<td>
<input type="checkbox" id="planned" name="planned" class="switch">
</td>

The width of the <td> is set with the <th> and is 130px.

This is the JS:

$(".switch").bootstrapSwitch({
    onText: "Yes",
    offText: "No"
});

It looks like this in IE11 (all we have access to at work) but looks fine in firefox and chrome. Any ieas?




Aucun commentaire:

Enregistrer un commentaire