954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

CSS Div rendering problem

I have been working on writing a newsletter template to send out to a mailing list. I found a site that let me download one, but after determining it was overly complex, I decided to rewrite it using css. (it was using tables for content layout)

Everything was working fine until I got down to the very last section of the page. It won't show the background image, nor will margins show up until you get up in the 2-300 pixel margin.

I looked at it in firebug, and the .info div and .footer div do not show up as objects, but just shows the margins and padding in purple and yellow. And the body highlight seems to stop right above the footer tag for some reason.

Anyone think they can find where i've messed up?

http://jsfiddle.net/toddj/JPRsa/

I got kind of desperate and started trying different things in the CSS to see if I could make it work, but nothing has seemed to work.

toddj
Newbie Poster
6 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

Normally this is because your footer is being hide behind your content. Please try these style to footer(just suggestion, hope can help)

clear:both;
position:relative;
top:0;
lps
Junior Poster
117 posts since Jul 2011
Reputation Points: 13
Solved Threads: 22
 

thank you for your suggestion :) I actually finally got it figured out earlier today right before I left work, using a method very similar to what you posted.
I added a .clearboth class and just added
after the footer and now it's working perfectly

toddj
Newbie Poster
6 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: