HTML CSS examples for CSS Widget:Button
Align two buttons
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .ppdiv {<!--from www .j a v a2s . c om--> overflow:hidden; } .ppenvelope, .pptext { float:left; border:none; height:49px; } .ppenvelope { border-top-left-radius:5px; border-bottom-left-radius:5px; background:Chartreuse; } .ppdiv img { padding:11px; } .pptext { border-top-right-radius:5px; border-bottom-right-radius:5px; background:yellow; color:blue; } </style> </head> <body> <div class="ppdiv"> <button class="ppenvelope"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png" alt="Slika"> </button> <button class="pptext">Lorem ipsum dol</button> </div> </body> </html>