View Full Version : Separating Div tags!!!

Tiger Timmy
06-30-2009, 03:00 PM
Hi Guys,

I am learning Dreamweaver and using CSS to style my pages. I'm using a simple page layout with a header, content and footer div within a wrapper div and css rules to style them.

My problem is as follows: When I hit return to insert a paragraph within my content div the div is separated from the header and footer div's so that visually a gap appears between them. This is messing up my page design. How can I stop this happening?

Any help appreciated,



06-30-2009, 04:27 PM
Sounds like collapsing margins.

07-01-2009, 02:27 PM
oh i know what to do-- go into your code, and go to the spot where you hit enter, and look for the <p> and </p> tags. take them out. then there will be no more paragraph space. lol happens to me all the time. gets annoying