diff options
author | Mark Otto <otto@github.com> | 2014-03-10 02:32:36 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2014-03-10 02:32:36 +0400 |
commit | 15d44940387f716ec5d2efee12bc9d9a7530ae56 (patch) | |
tree | 8a2c09343748ffd537c094dea738e8d3788ceea8 /docs/components.html | |
parent | 4d870af2aad36563883ac5751f52d9f0288a0673 (diff) |
Moves IE8 justified button border mention to docs section, not the browser bugs page /cc @cvrebert
Diffstat (limited to 'docs/components.html')
-rw-r--r-- | docs/components.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/components.html b/docs/components.html index ad145604fa..7b8b350881 100644 --- a/docs/components.html +++ b/docs/components.html @@ -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><a></code> or <code><button></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><a></code> elements</h4> <p>Just wrap a series of <code>.btn</code>s in <code>.btn-group.btn-group-justified</code>.</p> |