CSS / HTML centering a textbox
- by Robert
This should be easy but its proving difficult...
My element I want centred is exactly this <input type="text">
I don't want the text centred, just the text box within the outer div.
This is my attempt which is not working
<div class ="temp123">
<input type="text" />
</div>
Where:
.temp123
{
margin: 0 auto;…