Take a look at this article regarding the proper DOCTYPE to use: http://www.alistapart.com/articles/doctype/
On 23 April 2012 11:21, Joey33 <[email protected]> wrote: > check it out > http://englishcafe.pl/bootstrap/ > > doctype present, still no change > line-height:1px > > > On Apr 23, 3:09 pm, Tony Luo <[email protected]> wrote: > > Double confirmed! > > > > Best Regards > > Tony Luo > > > > 在 2012-4-23,下午8:50,Terry R <[email protected]> 写道: > > > > I can confirm this is the solution, had this problem on a few sites a > while > > ago and figured it out. > > > > > > > > > > > > > > > > On Sunday, April 22, 2012 6:43:34 AM UTC-4, Tero Lipponen wrote: > > > > > Hi, > > > > > I had the same problem, tried everything twice and then noticed that I > had > > > no doctype :) > > > Adding <!DOCTYPE html> helped. > > > > > On Saturday, April 21, 2012 10:40:14 AM UTC+3, Joey33 wrote: > > > > >> Hi, > > > > >> I'm linking to > > > > >> 1. bootstrap.less (that imports all further .less files) > > >> 2. less-1.3.0.min.js > > > > >> in head section but the line-height in body after the less file is > > >> processed is only 1px; > > >> Variables.less has @baseLineHeight defined at 18px but it's ignored; > > > > >> Have no idea what I'm doing wrong.. >
