Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a header div, content div, and a footer div, and my content is a PHP loop returning results from my database, but my results are under my footer div, and my footer div is up over my content div?

I need help please.

HTML/PHP: http://pastebin.com/88mVStFf

CSS: http://pastebin.com/r22jvVbn

Thanks in advance for any help.

share|improve this question
1  
You get a big hairy downvote for not bothering with this question at all. You need to post a small, relevant snippet of your HTML, PHP and CSS in the question –  Bojangles Jun 4 '13 at 13:57
2  
How can you post a small snippet of the code if you have no idea whats wrong? In this case I think his effort with the pastebins is worth an upvote and not a downvote. Its not like its all garbled code and like 1000 lines or so. –  Hugo Delsing Jun 4 '13 at 14:01
    
As an addon on Bojangles's comment, you can try to follow the guidelines on SSCCE next time ;) –  Aquillo Jun 4 '13 at 14:01
    
@HugoDelsing, as documented on SSCCE you can start removing small pieces of code to identify whether or not the problem persists. However this would have taken way more time in this case, since the solution was rather obvious. –  Aquillo Jun 4 '13 at 14:02
    
Well, I'm relevantly new to stackoverflow and I only post when I'm stuck on something I'm currently working on to get done. I'll try to pste little parts next time, but I agree with @HUGO DELSING –  Dallas Clymer Jun 4 '13 at 14:04

1 Answer 1

up vote 4 down vote accepted

It seems that you are not closing your table (</table>) on line 118 of your HTML/PHP Pastebin.

Also a sidenote, you can make a header for a table by using <th></th> instead of <tr></tr>.

share|improve this answer
    
OMG, thank you lol. I knew it had to be something simple. I overlooked it. –  Dallas Clymer Jun 4 '13 at 13:56
    
You're welcome :) –  Aquillo Jun 4 '13 at 14:00
    
select this as the answer to your question, if it helped you entirely with the problem –  Kirka121 Jun 4 '13 at 14:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.