Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #9969
Closed
Open
Issue created Aug 21, 2013 by Administrator@rootContributor

Include padding around HTML 5 'output' tag

Created by: kennardconsulting

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:

<label for="name">Name:</label><input id="name" type="text" value="Bob"/>

Then this can be its read-only variant:

<label for="name" value="Name:"/><output id="name">Bob</output>

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:

display: block; padding: 5px;

...so that they line up with the labels and input tags.

Assignee
Assign to
Time tracking