Just one question, why not put the <input> inside the <label>, styling the label as a block and floating the input right (or something like that)?
That way you could get rid of the complete <ol> and it’s li’s and it would be just as valid and semantically correct. You then could even leave out the for=”(input)” in the labels.
Nice article, some neat tricks too.
Just one question, why not put the <input> inside the <label>, styling the label as a block and floating the input right (or something like that)?
That way you could get rid of the complete <ol> and it’s li’s and it would be just as valid and semantically correct. You then could even leave out the for=”(input)” in the labels.