visionmedia/jade — Issue #432: jade adds default padding/margin to divs
Author: rohitcolinrao
Created: 2011-12-11 06:14:29+00:00
State: open

i have jade running in express/node and found the following issue when trying to get my css/layout working.

it looks like jade is adding extra spacing in the rendered html. i zeroed out my margins and paddings redundantly in just about every div but it's still adding the space. there is extra spacing between every single div. also, i'm not able to get my layout flush to the top and left/right of the browser.

this is my markup:

.header this is content for the header
.wrapper
.container
.nav this is the nav bar
.content
p Welcome to #{title} hey what's up this is a div!

there is extra space between all those divs.