-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include padding around HTML 5 'output' tag #9969
Comments
You da man! Thanks |
Doesn't it overlap with |
I wasn't aware of However now that I look at it, I think use of an |
@kennardconsulting that's exactly why I mentioned it. As |
Perhaps, but the |
At least as far as Bootstrap v2.3.2 goes (perhaps all the rules have changed for v3?) the padding I am referring to is |
@kennardconsulting I think it has been changed in v3. |
Hello again. I've just upgraded to Bootstrap v3 and this isn't working as I'd hoped :( Whilst I can now add What is the recommended way to do this? I see the documentation is still using |
The HTML 5 output tag is useful semantic markup to denote the 'result of a calculation' or a data lookup. It fills a hole in form markup. For example, if this is the editable version of a form:
Then this can be its read-only variant:
This is preferrable to surrounding 'Bob' with span tags (or no markup). And it's more semantically correct than using label tags IMHO.
However Bootstrap does not format output tags inside forms very well. I believe they need:
...so that they line up with the labels and input tags.
The text was updated successfully, but these errors were encountered: