White Space Problem

Discussion in 'CSS' started by xom2008, Oct 11, 2008.

  1. #1
    Hello All,

    I have an ongoing issue in Dreamweaver CS3 concerning "white space". Whenever I create an AP Div and start writting text, I push the enter button to start a new paragraph and it automatically pushs all the text down one line and leaves a line of white space at the top of the div... VERY FRUSTRATING!!! :mad:

    Can you please tell me what css rule to write, so I may rectify this annoying problem once and for all???

    Thanks and have a great weekend!
     
    xom2008, Oct 11, 2008 IP
  2. HDaddy

    HDaddy Active Member

    Messages:
    287
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    try puttin in your divs p selector like this:

    margin:0;

    then with padding you can adjust the spaces between the paragraphs.

    hope this helps..
     
    HDaddy, Oct 12, 2008 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Using DreamBeaver to make code for you (if you're hitting ENTER to make a new paragraph, that means hitting ENTER makes a closing </p> tag and starts a new opening <p> tag?) is frustrating. What you want to do is turn off all its auto-completion tag-soup-making guesswork.

    It's also having you make "AP" divs-- while there is a use for them it should be very rare and for special cases. 99% of your boxes should be naturally positioned.

    If it's making the space later as rendered by a browser then what HDaddy said is what you need-- you just have default paragraph margins showing and the amount of that is different for each browser (and has nothing to do with DW in that case).
     
    Stomme poes, Oct 12, 2008 IP
  4. snake charmer

    snake charmer Guest

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try looking at your heights and widths.
     
    snake charmer, Oct 13, 2008 IP