Layer positioning

This is a discussion on "Layer positioning" within the Web Page Design section. This forum, and the thread "Layer positioning are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 10th, 2007, 21:45
New Member
Join Date: Feb 2007
Location: Chertsey, Surrey , UK
Age: 1
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Red face Layer positioning

I am trying to design a webpage where all the content is contained within a single 'top-level' Layer. Other elements of the page are contained within other Layers that are nested within this 'top-level' Layer.
My problem is that I want a footer (contained in its very own layer) which I need to be positioned relative to the bottom of the 'top-level' Layer (so the bottom edge of the footer layer is coincident with the bottom edge of the 'top-level' layer) - so when I change the height of the top-level layer (to give longer webpage) the footer level stays at the bottom of the page.
Hope everyone understood that!
I've tried, but I can't quite pull if off. Could someone please let me have the CSS definition for the footer layer in this case, puleeze?
Reply With Quote

  #2 (permalink)  
Old Feb 11th, 2007, 12:16
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Layer positioning

You should be able to add this to your footer css:
#footer {
clear: both;
}

If that doesn't work, add a new <div class="clear"></div> right above the footer div. Your css would be the same as above
.clear {
clear: both;
}
Reply With Quote
  #3 (permalink)  
Old Feb 11th, 2007, 13:17
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Layer positioning

Yeah, if clear doesn't work, post a link up to your page so we can have a looksy. Lchad's advice will work if you're using floats to acheive the columns. If you're using positioning for the columns it'll be a different story.
Reply With Quote
Reply

Tags
div

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layer Change rattlesnak Web Page Design 2 Jan 25th, 2008 12:07
help need to add a layer in php ect rubyk9 PHP Forum 1 Sep 1st, 2007 22:58
Positioning the layer (Div tag) compatible mrunclesam Web Page Design 12 Dec 18th, 2006 11:43
Positioning a Div Layer escaflowne11 Web Page Design 6 Oct 6th, 2006 22:45
Hidding a layer? Jorgerb Flash & Multimedia Forum 7 Apr 10th, 2005 08:48


All times are GMT. The time now is 13:31.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43