View Full Version : lining up using css

09-10-2009, 11:53 PM
Am trying to mock up a page using CSS and can't figure the problem. I used the box and entered 15 px for the top margins on both the "left" and "right" columns, but the two columns are not lining up. What am I doing wrong?

Also, they look way different on the local. The right is going over the header about 15 px and the image starts at the bottom of the banner, while the left is where it is supposed to be.



09-11-2009, 12:31 AM
looks ok to me. XP firefox 3.5

09-11-2009, 02:16 AM
Collapsing margins.
Use padding-top on the two columns instead, and you should be fine.

09-11-2009, 08:09 PM
Yikes! It worked!

Still don't understand why the other didn't. Anyway, I now have an alternative and will move on to the next step. Thanks a lot!