I'm having problems centering the submit buttons of my HTML form in CSS.
Right now I'm using:
<input value="Search" title="Search" type="submit" id="btn_s"> <input value="I'm Feeling Lucky" title="I'm Feeling Lucky" name="lucky" type="submit" id="btn_i">
with this CSS content
#btn_s{ width: 100px; margin-left: auto; margin-right: auto; } #btn_i { width: 125px; margin-left: auto; margin-right: auto; }
And he does nothing. I know that Iβm probably doing something stupid wrong. How can i fix this?
html css alignment center
Belgin Fish Nov 19 '10 at 1:09 2010-11-19 01:09
source share