Tuesday, 17 September 2013

CSS DIV Margin-top

CSS DIV Margin-top

I have a question about margin in CSS. I have a DIV element, which has an
image for background. Inside that DIV I have another DIV. I want this DIV
inside to be 200px from the top. But, when I do that, the outside DIV also
moves down for 200px. Why is that and how to keep the outside DIV on top?

No comments:

Post a Comment