Moves IE8 justified button border mention to docs section, not the browser bugs page /cc @cvrebert

This commit is contained in:
Mark Otto 2014-03-09 15:32:36 -07:00
parent 4d870af2aa
commit 15d4494038
2 changed files with 5 additions and 6 deletions

View File

@ -107,12 +107,6 @@ lead: "A list of the browser bugs that Bootstrap is currently grappling with."
<td>(No public bug tracker)</td>
<td><a href="https://github.com/twbs/bootstrap/issues/9774">#9774</a></td>
</tr>
<tr>
<td>Internet Explorer 8</td>
<td>Buttons in justified button groups have no borders unless each button is wrapped in an extra button group</td>
<td>(No public bug tracker)</td>
<td><a href="https://github.com/twbs/bootstrap/issues/12476">#12476</a></td>
</tr>
</tbody>
</table>
</div>

View File

@ -370,6 +370,11 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,
<h4>Handling borders</h4>
<p>Due to the specific HTML and CSS used to justify buttons (namely <code>display: table-cell</code>), the borders between them are doubled. In regular button groups, <code>margin-left: -1px</code> is used to stack the borders instead of removing them. However, <code>margin</code> doesn't work with <code>display: table-cell</code>. As a result, depending on your customizations to Bootstrap, you may wish to remove or re-color the borders.</p>
</div>
<div class="bs-callout bs-callout-warning">
<h4>IE8 and borders</h4>
<p>Internet Explorer 8 doesn't render borders in on buttons in a justified button group, whether it's on <code>&lt;a&gt;</code> or <code>&lt;button&gt;</code> elements. To get around that, wrap each button in another <code>.btn-group</code>.</p>
<p>See <a href="https://github.com/twbs/bootstrap/issues/12476">#12476</a> for more information.</p>
</div>
<h4>With <code>&lt;a&gt;</code> elements</h4>
<p>Just wrap a series of <code>.btn</code>s in <code>.btn-group.btn-group-justified</code>.</p>