Solved

How can I move my 'footer' under my 'content' with CSS?

Posted on 2010-08-19
9
283 Views
Last Modified: 2012-05-10
Hey all,

In IE6, my footer has moved up into the same area as my content.  How can I have my footer under the content all of the time, so that even when I have to add more to the blog...the footer will always stay about 75px below the content?

NOTE:  I blurred out the text on purpose.  The red border is where the footer is now located, obviously I want it under the content.

Thanks in advance!
Footer-issue.jpg
0
Comment
Question by:ModifyMe
9 Comments
 

Expert Comment

by:gatormrr3
ID: 33477599
Can you show your code? That would help
0
 

Author Comment

by:ModifyMe
ID: 33477667

.not-front #footer
{ 
  position:relative;
  float:left;
  border: 1px solid #990000;	
  margin-top: 30em;;
}

Open in new window

0
 
LVL 6

Expert Comment

by:hehdaddy
ID: 33477740
Without seeing your markup, it's kind of hard to give a concrete answer.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:ModifyMe
ID: 33478556
Hmmmmm...well, is there a best-practice way to achieve my design need?  I can deal without a concrete answer, maybe some could give me some options to try out.
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33479184
I'm guessing this is a custom theme? Which theme did you base it on or did you start from scratch? I highly recommend doing Zen subtheming or something similar.

http://drupal.org/project/zen
0
 
LVL 16

Accepted Solution

by:
HagayMandel earned 500 total points
ID: 33482925
Not much can be done without the code!
But, I can see that your RSS is positioned correctly at the bottom of the page. Use firebug to check its CSS properties, and use them for the footer.
0
 

Author Comment

by:ModifyMe
ID: 33484531
@Thomas4019:  This is a Zen subtheme.
@HagayMandel:  Good idea, I will try and see what I come up with.
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33487225
I'm confused. After you finish the first steps to make a Zen subtheme the footer should be in the right place. Is this Zen subtheme something someone else made a while ago?

Have you tried removing those four properties for the footer and see if it is still erroring?
0
 

Author Closing Comment

by:ModifyMe
ID: 33487231
Fast response, thanks!

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fulfillment API php code sample 1 41
Botom of page is wrong color 5 11
Changing Two Areas of a Page 5 17
Grunt script for Build Process 1 29
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question