Thursday, July 9, 2009

Grails and some annoying CSS in the Body Part

the last 72h I spend with debugging some css, because my webpage did not show in the way I wanted it to show.

So long story short, for some reason grails defines several body elements in the main.css file

body {
background: #cccccc;
color: #333;
font: 11px verdana, arial, helvetica, sans-serif;

width:100%;
height:100%;

}


.body {
float: left;
margin: 0 15px 10px 15px;
}

and the 'float:left' in the second body tag wrecked havoc with my application...

...great 3 days wasted on lay outing...

1 comment: