From b7b2e4f8a1bda965442668869e1dc5e5118fd985 Mon Sep 17 00:00:00 2001 From: Nikhil Dabas Date: Sat, 2 Feb 2013 02:04:30 +0530 Subject: [PATCH] Fixing inline lists for IE7 --- docs/assets/css/bootstrap.css | 2 ++ less/type.less | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index c0c5ac91e3..ca9c699b61 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -835,8 +835,10 @@ ol.inline { ul.inline > li, ol.inline > li { display: inline-block; + *display: inline; padding-right: 5px; padding-left: 5px; + *zoom: 1; } dl { diff --git a/less/type.less b/less/type.less index 9afff93ac5..7eabfd9ad6 100644 --- a/less/type.less +++ b/less/type.less @@ -125,6 +125,7 @@ ol.inline { list-style: none; > li { display: inline-block; + .ie7-inline-block(); padding-left: 5px; padding-right: 5px; }