Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-21-2012, 04:21 PM   PM User | #1
Abi89
New to the CF scene

 
Join Date: Feb 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Abi89 is an unknown quantity at this point
Post Regarding Placing Footer Below the Pages Content

Dear Users ,
I want my footer to appear directly under the content which is containing the dropbox shawdow , the bottom border of the content has to be shown but the footer should appear below the content , I can have a footer placed in my page but have no idea how to push the footer under the content

Any help regarding this will be useful to me
Abi89 is offline   Reply With Quote
Old 05-21-2012, 04:42 PM   PM User | #2
dan-dan
Regular Coder

 
dan-dan's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 483
Thanks: 22
Thanked 79 Times in 78 Posts
dan-dan is on a distinguished road
Code?
dan-dan is offline   Reply With Quote
Old 05-21-2012, 04:58 PM   PM User | #3
Abi89
New to the CF scene

 
Join Date: Feb 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Abi89 is an unknown quantity at this point
yes i need the code , i just have done as follows
Code:
<body>  <div id="pagecontainer"> <div id = "header"> </div> <div id="content"> </div>  </div>  <div id="footer"> </div>  </body>
I want the footer to be placed under the pagecontainer with the pagecontainer's border-bottom done with box shadow visible
Abi89 is offline   Reply With Quote
Old 05-21-2012, 06:11 PM   PM User | #4
dan-dan
Regular Coder

 
dan-dan's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 483
Thanks: 22
Thanked 79 Times in 78 Posts
dan-dan is on a distinguished road
By that I actually meant to post all your code and CSS so it's easier for us to see the problem, and therefore help you.

I've not really worked with box shadow, but if it's being covered then try adding the below to your footer's CSS, X being the width of the shadow of the above div:

Code:
margin-top: Xpx;
dan-dan is offline   Reply With Quote
Old 05-22-2012, 08:15 AM   PM User | #5
Abi89
New to the CF scene

 
Join Date: Feb 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Abi89 is an unknown quantity at this point
Code:
#footer
{ 


position:absolute;
top:718px;
z-index:-1;
width:100%;
left:0; 
height:100px;
background: #EDEDED ;



}
now i am able to push the footer underneath the content but i dont want the width of the footer to resize on window resize , the footer width has to be 100% no matter what , and in Internet Explorer am unable to use position :absolute , any help will be greatly appreciated
Abi89 is offline   Reply With Quote
Old 05-22-2012, 09:20 AM   PM User | #6
dan-dan
Regular Coder

 
dan-dan's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 483
Thanks: 22
Thanked 79 Times in 78 Posts
dan-dan is on a distinguished road
Can you please post ALL your code.
dan-dan is offline   Reply With Quote
Old 05-22-2012, 03:51 PM   PM User | #7
Abi89
New to the CF scene

 
Join Date: Feb 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Abi89 is an unknown quantity at this point
Actually right now i dont have the code ,but its something like this , there is a pagecontainer div which acts like a wrapper for all the contents including header excluding the footer, footer is in a separate div which i will lik to bring underneath the pagecontainer div by using position as absolute and width as 100% ,
Abi89 is offline   Reply With Quote
Reply

Bookmarks

Tags
css, html

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 12:55 AM.


Advertisement
Log in to turn off these ads.