default html code for enter key

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default default html code for enter key

    Hi,
    I'm a web developer and my company prefers that I use two <br> tags for
    paragraphs rather than using the <p> tags. There is more control over spacing
    with two breaks. Is there any way to make Dreamweaver insert two <br> tags
    when I am using dreamweaver in design view?
    Thanks

    ladyferns Guest

  2. Similar Questions and Discussions

    1. Generating HTML code in the code-behind
      Can I do this? I'm playing with AJAX, and it occurred to me that it'd be a lot easier to make changes to a control on the server, grab the HTML...
    2. default html button
      Hi everyone, On a html page I have some input boxes and few buttons. On that page if user hits ENTER key at any time, it will have a specific to...
    3. CODE - using on (release, keyPress "<Enter>")
      on (release, keyPress "<Enter>") { if (Picked == c2) { blah blah anyway.. this is on the submit question button in a quiz.. trouble is -...
    4. Default Button to Catch <ENTER> key
      Hi, It's a login screen, so users enter their ID/Password and hit <ENTER> instead of clicking on Login button. But when they hit <ENTER> an...
    5. where do u enter registration code 4 dreamweaver
      where do u enter registration code 4 dreamweaver like im confused if u could help id appriciate it thanx :)
  3. #2

    Default Re: default html code for enter key

    SHIFT+ENTER to insert a <br> in design view
    laksinu Guest

  4. #3

    Default Re: default html code for enter key

    Your company is loopy.

    Using two consecutive breaks does this -

    1. It removes the semantic sense of the paragraph markup
    2. If forces the text to break at that point regardless of how the page
    width would cause it to flow - this is usually ugly

    You can control the spacing between two paragraphs to the pixel if you use
    CSS and adjust the inherent margins on the paragraph tag, e.g.,

    p { margin-top:0; margin-bottom:0; }

    These paragraphs will be immendiately adjacent on the page....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "ladyferns" <webforumsuser@macromedia.com> wrote in message
    news:dmga0o$t88$1@forums.macromedia.com...
    > Hi,
    > I'm a web developer and my company prefers that I use two <br> tags for
    > paragraphs rather than using the <p> tags. There is more control over
    > spacing
    > with two breaks. Is there any way to make Dreamweaver insert two <br>
    > tags
    > when I am using dreamweaver in design view?
    > Thanks
    >

    Murray *TMM* Guest

  5. #4

    Default Re: default html code for enter key

    Quote Originally Posted by ladyferns View Post
    Hi,
    I'm a web developer and my company prefers that I use two <br> tags for
    paragraphs rather than using the <p> tags. There is more control over spacing
    with two breaks. Is there any way to make Dreamweaver insert two <br> tags
    when I am using dreamweaver in design view?
    Thanks
    haha well obviously you shouldnt be a developer rofl
    Unregistered Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139