.form-group { display: flex; flex-direction: row; align-items: center; margin-bottom: 10px; } .form-group label { width: 100px; text-align: right; margin-right: 10px; padding-right: 4px; } .form-group input { flex: 1; width: 500px; } .form-actions { display: flex; flex-grow: 1; /*justify-content: flex-end;*/ margin-top: 10px; width: 100%; } .success-message { color: blue; font-weight: bold; /*text-align: left;*/ height: 100%; margin-left: 10px; }