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:
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!





