I noticed that when I put the buttons on a form
they look different.
This is what I did:
<div class="btn-group" id="language_selector" role="group" aria-label="...">
<?php
echo("<form action='' method='post'>
<input type='submit' class='btn btn-default' $activeClass name='en' value='EN' />
<input type='submit' class='btn btn-default' $activeClass name='pt' value='PT' />
<input type='submit'class='btn btn-default' $activeClass name='es' value='ES'/>
</form>");
?>
But in the aspect it is quite different from the example:
<div class="btn-group" role="group" aria-label="...">
<button type="button" class="btn btn-default">Left</button>
<button type="button" class="btn btn-default">Middle</button>
<button type="button" class="btn btn-default">Right</button>
</div>
I would like the submit buttons to be the same as button
.