Q&A: What’s wrong with my divs?

Question by KK: What’s wrong with my divs?
I’m trying to make a page with a header, a footer, and two horizontally-aligned columns in between (left=80%, right=20%). The middle columns won’t line up correctly though, it’s one under the other, but they’re on their right sides (left is on the left, right is on the right, but right is under left on the right).

Here’s my divs:

Saturday, October 18, 2008



There’s a correlation between honesty & your motives.

Friday, October 17, 2008



The universe applauds symbolic acts.

Thursday, October 16, 2008



Change what you can change, and change your mind about the rest.

and here’s my stylesheet:

I think I have some sort of inkling of what could be wrong, but I don’t know how to fix it and configure it the way I want… This has got to be so simple, please someone help me?

Best answer:

Answer by Destiny’s Child
hello, i dont know if my answer will solve your problem but just try and see.

before your tag, put this:

< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Add your own answer in the comments!

Tags: , ,
© Effective Drug Rehabilitation
CyberChimps