I recently attempted to create buttons using CSS and padding.
Here is the HTML code for the buttons:
<link rel="stylesheet" type="text/css" href="css/style-login.css" />
<link rel="stylesheet" type="text/css" href="css/font-awesome-4.0.3.css" />
<div class="omb_login">
<div class="omb_socialButtons">
<button class="btnfb">
<i class=" fa fa-facebook" data-size="icon" data-scope="public_profile,email" onlogin="checkLoginState();"></i>
Login With Facebook
</button>
<button class="btngoogle">
<i class="fa fa-google" data-size="icon"></i>
<a href="<?php echo $google; ?>">
Login With Google
</a>
</button>
</div>
</div>
...
After styling the buttons in style-login.css, I noticed that the width of the Facebook and Google buttons were not the same despite adjusting the padding. Is it possible to make the buttons the same width using only padding without specifying width or height?
As I am not very experienced with CSS, do you have any advice on how to achieve this alignment?