..divitis
Anyway, I was able to create the layout that I want. Each section has two divs ('divitis' ?). One as the outer container and one inner one for content. The reason for this is that I want to be able to add margin, borders, padding and so on to the content-div without ruining the layout.
Thanks to Jennifer for this post: http://webdesign.about.com/od/csstutorials/f/set-css-height-100-percent.htm
The thing I has missed until I read this was the setting of the height for the html- and the body-element.
The HTML:
The CSS:

No comments:
Post a Comment