HTML CSS examples for HTML Tag:input button
Style submit button with .wrapper > div > input[type="submit"] selector
<html lang="en"> <head> <style> .wrapper>div { border:2px solid Chartreuse; float:left; width:251px; height:301px; margin:0 11px; position:relative; } .wrapper {<!--from www . j a va 2 s .c om--> margin:0 auto; width:831px; } .wrapper>div>input[type="submit"] { position:absolute; bottom:21px; left:26px; display:block; width:201px; } .clearfix:before, .clearfix:after { content:""; clear:both; display:block; } </style> </head> <body translate="no"> <div class="wrapper"> <div> <input type="submit"> </div> <div> <input type="submit"> </div> <div> <input type="submit"> </div> </div> <div class="clearfix"></div> </body> </html>