I am trying to display a year range input on a form that has a 2 textboxes. One for the min and one for the max and are separated by a dash.
I want this all on the same line using bootstrap, but I cannot seem to get it to work correctly.
Here's my code:
Year
-
Here's what it looks like now:
解决方案
How about using an input group to style it on the same line?
Here's the final HTML to use:
-
Which will look like this:
Here's a Stack Snippet Demo:
-
I'll leave it as an exercise to the reader to translate it into an asp:textbox element