Wrapper Div Module

02/15/2007 10:19:57
tags: OddMuse, web

This feature has finally been incorporated into the main OddMuse code, making this module unnecessary. Thanks, Alex!

Installing a module is easy: Create a modules subdirectory in your data directory, and put the Perl file in there. It will be loaded automatically.

Download module:

This module corrects an issue with the div layout of OddMuse, whereby there is no div that contains all content between the header and the footer. This is an only an issue for those who like to have total control over the layout of their site (especially for people interested in really pushing the limits of css design.

This module creates a div called “wrapper” that begins just after the header, and ends just before the footer. At the end of wrapper, is a “wrapper close” div which can be used to clear any floats in the content. Add the following to your css file:

div[class="wrapper close"] { clear:both;}

Now you can use the wrapper to control the background of all of the content area, regardless of whether your sidebar or your main content is longer.

Again, if you aren’t really into CSS, you probably don’t care about this module.

Similar Pages