I have the following html snippet for a submit button:
<input style="height: 30px; width: 120px" type="submit" align="right" name="" value="Submit">
but it is not aligning to the right at all (or middle which is what I want). The align tag doesnt seem to be doing anything why is this the case?
There is no
alignattribute for theinputelement. You should use a validator before wondering why markup doesn’t work as you expect.Use CSS for presentation.
You probably want to use either
text-alignon the parent element orfloat