CSS - CT3 "adding" margin=0 when editing text

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default CSS - CT3 "adding" margin=0 when editing text

    Issue: when editing the text of a menu div (simple html, no javascript), CT3
    sees fit to add a margin-bottom setting of zero. This is NOT wanted. Here's a
    snippet of the before code:

    <div class="topnav">
    <p><a href="link.html">linkOne</a> :: <a href="link2.html">linkTwo</a> :: <a
    href="link3.html">linkThree</a> :: <a href="articles/articles.html">Other
    Articles</a> :: <a href="link4.html">linkFour</a></p>
    </div>

    Here's the referenced external CSS file code for "topnav":

    .topnav { background-color: #ccf; border-style: solid; border-width: 1px 0px
    1px 0px; border-color: #009 #009 }
    .topnav p { color: #006; font-size: 11px; font-family: Verdana, Trebuchet,
    Palatino; text-align: justify; margin: 5px 30px 5px 38px }


    Here's what CT3 adds when I edit <i>only the text</i> within that DIV - it
    adds a 0 margin bottom:

    <div class="topnav">
    <p style="margin-bottom: 0"><a href="link.html">linkOne</a> :: <a
    href="link2.html">linkTwo</a> :: <a href="link3.html">linkThree</a> :: <a
    href="articles/articles.html">Other Articles</a> :: <a
    href="link4.html">linkFour</a> :: <a href="link5.html">linkFive</a></p>
    </div>

    Any reason why CT3 is doing this? Sorry, pages are internal so can't give
    direct links. TIA.

    dvatalaro Guest

  2. Similar Questions and Discussions

    1. Text as paths, when below 32 point, "l" and"-" become strokes not boxes
      Acrobat Distiller 7.0 using Freehand MX When text is converted to paths before distilling, straight characters such as "l" and "-" become a...
    2. Font size of annotation's contents("Text box tool" formely known as "FreeText")
      hi all I need to add annotation of "FreeText" type (Text Box Tool) having some text.I am able to add annotation, set the content text and set...
    3. How to stop CT3 from adding style="margin-bottom: 0"
      How can I stop CT3 from adding style='margin-bottom: 0' to h1, h2,and p tags. I set up templates in DWMX 2004. I have locked and editable regions....
    4. Need help with disjoint rollovers and adding text to a "one page website"
      I've created a website with only one document, which i saved and then exported as a .htm document, then i erased all the text in it, put some new...
    5. How to make the "search text" feature work with non "txt" file
      On Fri, 27 Jun 2003 07:19:23 -0700, "Juergen" <anhorn@bktel.com> wrote: See MVP Doug Knox' comments and fix here:...
  3. #2

    Default Re: CSS - CT3 "adding" margin=0 when editing text

    Hi,
    It might be worth checking you paragraph sapcing settings in the admin set
    up.

    One of the preferences is for either a 'single' spacing between paragraphs
    or 'double'
    If 'single' is selected then contribute adds the 'margin 0' to the
    paragraph.
    All you need to do is select 'double'

    hth

    "dvatalaro" <webforumsuser@macromedia.com> wrote in message
    news:d58m10$oie$1@forums.macromedia.com...
    : Issue: when editing the text of a menu div (simple html, no javascript),
    CT3
    : sees fit to add a margin-bottom setting of zero. This is NOT wanted.
    Here's a
    : snippet of the before code:
    :
    : <div class="topnav">
    : <p><a href="link.html">linkOne</a> :: <a href="link2.html">linkTwo</a> ::
    <a
    : href="link3.html">linkThree</a> :: <a href="articles/articles.html">Other
    : Articles</a> :: <a href="link4.html">linkFour</a></p>
    : </div>
    :
    : Here's the referenced external CSS file code for "topnav":
    :
    : .topnav { background-color: #ccf; border-style: solid; border-width:
    1px 0px
    : 1px 0px; border-color: #009 #009 }
    : .topnav p { color: #006; font-size: 11px; font-family: Verdana,
    Trebuchet,
    : Palatino; text-align: justify; margin: 5px 30px 5px 38px }
    :
    :
    : Here's what CT3 adds when I edit <i>only the text</i> within that DIV -
    it
    : adds a 0 margin bottom:
    :
    : <div class="topnav">
    : <p style="margin-bottom: 0"><a href="link.html">linkOne</a> :: <a
    : href="link2.html">linkTwo</a> :: <a href="link3.html">linkThree</a> :: <a
    : href="articles/articles.html">Other Articles</a> :: <a
    : href="link4.html">linkFour</a> :: <a href="link5.html">linkFive</a></p>
    : </div>
    :
    : Any reason why CT3 is doing this? Sorry, pages are internal so can't give
    : direct links. TIA.
    :


    temple Guest

  4. #3

    Default Re: CSS - CT3 "adding" margin=0 when editing text

    Thanks for taking the time to reply, that did the trick!
    dvatalaro 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