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
  • #1969
Closed
Open
Issue created Feb 14, 2012 by Administrator@rootContributor

Inline checkboxes with blank space overlap in Chrome

Created by: jaimeirurzun

See example 2:

Alt Text

The first two forms have the same markup, with the only difference of the space in the label "Check 2":

<form class='form-inline'>
    <input type='text'/>
    <label for='check1' class='checkbox inline'>
      <input type='checkbox' id='check1' name='check1'/>
      Check1
    </label>
    <label for='check2' class='checkbox inline'>
      <input type='checkbox' id='check2' name='check2'/>
      Check 2
    </label>
    <button type='submit' class='btn'>Button</button>
</form>

The third form is an equivalent version with no bootstrap styles applied (only display: inline-block;), to ensure it's not Chrome itself causing this. This happens in latest Chrome (17.0.963.46), but renders correctly in latest Firefox (10.0).

Assignee
Assign to
Time tracking