+ Reply to Thread
Results 1 to 10 of 10

Thread: Can't get my template to cooperate

  1. #1
    Join Date
    Apr 2005
    Location
    Sacramento, Ca
    Posts
    140

    Default Can't get my template to cooperate

    I'm working on a new site in Dreamweaver MX and I can't adjust the paragraph spacing. Whenever I hit the enter bar to start a new sentence it jumps two whole spaces which leaves a one space buffer between my sentences. Which variable do I need to adjust to fix this problem?

    Keep in mind I’m not formally trained like most of you probably are. Just a beginner teaching myself as I go. Just can't seem to make it cooperate.

    Thanks,
    Eric

  2. #2
    Join Date
    Oct 2004
    Location
    Florida
    Posts
    2,132

    Default Re: Can't get my template to cooperate

    use <br> for HTML or <br /> for XHTML

  3. #3
    Join Date
    Apr 2005
    Location
    Sacramento, Ca
    Posts
    140

    Default Re: Can't get my template to cooperate

    I don't understand.

    How do I apply that?

    Please be patient with me.

  4. #4
    Join Date
    Oct 2004
    Location
    Florida
    Posts
    2,132

    Default Re: Can't get my template to cooperate

    Open the page you are working on in Dreamweaver and pick the "code" view. Find the area that you are trying to make a space. Add the code <br> to that area and your space will be created.

    For example:
    text<br>
    text<br>
    text<br>
    text<br>

    Each of the <br> create a new paragraph without the double space.

  5. #5
    Join Date
    Apr 2004
    Location
    Nanaimo
    Posts
    15,992

    Default Re: Can't get my template to cooperate

    You are obviously not using coder view, you are using designer, if you want to insert a line break but not a paragraph space hold "shift" and press "enter" - that will fix your issue with the extra paragraph space.
    Starting LEC 7 soon but it won't be called LEC 7 - LEC 2012 coming soon!

  6. #6
    Join Date
    Jul 2004
    Posts
    902

    Default Re: Can't get my template to cooperate

    In Regular view (not the code view) you can just hit Shift+Enter keys at the same time and it goes tothe next space down, not two...

    (i'm not fomally trained either.. i learned much by myself and tons online )(Yeah, just klike "webmaster" said above..lol)
    Search Homes for Sale in SAN DIEGO and other San Diego Real Estate via the San Diego MLS.

  7. #7
    Join Date
    Apr 2005
    Location
    Sacramento, Ca
    Posts
    140

    Default Re: Can't get my template to cooperate

    Haha. It worked.

    Thanks. *drags tail*

  8. #8
    Join Date
    Jul 2004
    Location
    Nanaimo, B.C.
    Posts
    1,237

    Default Re: Can't get my template to cooperate

    Working in the designer view of Dreamweaver does create some problems. I suggest working in split view and trying the coding first or seeing what coding is creating when you change something. By trying the coding first you can learn for the future, which generally makes it easier in the future, and you can also create cleaner code.

  9. #9
    Join Date
    Feb 2005
    Posts
    342

    Default Re: Can't get my template to cooperate

    Using line breaks to indicate a new paragraph works, but is not semanticly correct. Personaly, I space paragraphs with CSS if I want to use something other than the default spacing. Here's to the code:

    Code:
    p {
       margin-bottom: 12px;
    }
    Simple! Add it to your CSS to add a 12px margin to the bottom of all paragraphs instead of the default spacing. The value can be changed to whatever suits your needs. And, if you use exernal stylesheets, you will only have to make this change once to effect your entire site.

    Phil

  10. #10
    Join Date
    Aug 2005
    Posts
    12

    Default Re: Can't get my template to cooperate

    <br> and <p>

    common tags..

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts