I have a section where I need to include two buttons. One button on the left labeled "Sunday" and one on the right labeled "misc". I want the two buttons to be evenly placed within the area, so I assigned them the same class since they are the same size. Here is the code:
<div id="switcher">
<div class="button" id="Sunday">Sunday</div>
<div class="button" id="mic">mic</div>
Initially, I assumed that "Sunday" would naturally appear on the left side. I just needed to add some formatting rules to separate the two buttons such as adding padding on the left... However, the outcome was unexpected - "Sunday" ended up on the right side. Why did this happen? Please refer to my CSS on jsfiddle.
Thank you.