Layout: modules go beyond footer

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
7/16/2009 12:34:57 PM
Gravatar
Total Posts 131

Layout: modules go beyond footer

The content that belongs here is too complex to display securely.
7/16/2009 12:50:43 PM
Gravatar
Total Posts 18409

Re: Layout: modules go beyond footer

Hi David,

The problem is you are using absolute positioning. When you position something using absolute positioning it is taken "out of the flow" of the document so it is not affected by other content and thus you end up with unexpected results.

I recommend using a different layout approach, see other skins that use floats to position the column layout. 

Hope it helps,

Joe

7/16/2009 1:36:29 PM
Gravatar
Total Posts 131

Re: Layout: modules go beyond footer

Hey Joe, Thanks.  Easy fix once pointed in the right direction.  The issue was my wrapcenter was position:absolute.  Changed it to relative and it was easy from there.  Updated CSS is below.

Also note, I have 2 footers.  The first is float.  The second, if I change to float, screws up the whole container, so I set that to relative.  But it works great like this:

/* Content */
.wrapcenter {position: relative; top:0px; width: 100%; height:100%; margin: 0 10px 10px 10px;}

.leftside {float:left; height: 100%; width:320px; }
.center-nomargins {float:left; height: 100%; width: 970px;}
.center-rightandleftmargins {float:left; height: 100%; width:320px; }
.center-rightmargin {float:left; height: 100%; width: 640px; margin: 0 10px 0 0; }
.center-leftmargin {float:left; height: 100%; width: 640px; margin: 0 0 0 10px; }
.rightside {float:left; height: 100%; width:320px; }

/* Site Map Footer */
.wrapfooter {float: left; text-align: center; width: 100%; clear:both; margin: 15px 0 10px 0; }
.wrapfooter a { text-decoration:none; }
.wrapfooter a:hover { text-decoration: underline; }

/* pagefooter */
.pagefooter {position: relative; margin: 10px 10px 10px 10px;}

Beer on the way.

7/16/2009 1:49:37 PM
Gravatar
Total Posts 18409

Re: Layout: modules go beyond footer

Glad you got it working. 

Many thanks for the beers! Much appreciated.

Cheers,

Joe

You must sign in to post in the forums. This thread is closed to new posts.