From 15d44940387f716ec5d2efee12bc9d9a7530ae56 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 9 Mar 2014 15:32:36 -0700 Subject: Moves IE8 justified button border mention to docs section, not the browser bugs page /cc @cvrebert --- docs/components.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index ad145604f..7b8b35088 100644 --- a/docs/components.html +++ b/docs/components.html @@ -370,6 +370,11 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

Handling borders

Due to the specific HTML and CSS used to justify buttons (namely display: table-cell), the borders between them are doubled. In regular button groups, margin-left: -1px is used to stack the borders instead of removing them. However, margin doesn't work with display: table-cell. As a result, depending on your customizations to Bootstrap, you may wish to remove or re-color the borders.

+
+

IE8 and borders

+

Internet Explorer 8 doesn't render borders in on buttons in a justified button group, whether it's on <a> or <button> elements. To get around that, wrap each button in another .btn-group.

+

See #12476 for more information.

+

With <a> elements

Just wrap a series of .btns in .btn-group.btn-group-justified.

-- cgit v1.2.3