Professional Web Applications Themes

CSS - CT3 "adding" margin=0 when editing text - Macromedia Contribute General Discussion

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 ...

  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. #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" <webforumsusermacromedia.com> wrote in message
    news:d58m10$oie$1forums.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

  3. #3

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

    Thanks for taking the time to reply, that did the trick!
    dvatalaro Guest

Similar Threads

  1. Text as paths, when below 32 point, "l" and"-" become strokes not boxes
    By Brad_Wallwork@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 2
    Last Post: January 23rd, 02:19 AM
  2. Replies: 0
    Last Post: December 2nd, 11:18 AM
  3. How to stop CT3 from adding style="margin-bottom: 0"
    By TravelandUSA in forum Macromedia Contribute General Discussion
    Replies: 2
    Last Post: April 25th, 10:20 PM
  4. Need help with disjoint rollovers and adding text to a "one page website"
    By Davmann webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 2
    Last Post: September 14th, 04:55 PM
  5. How to make the "search text" feature work with non "txt" file
    By Sharon F in forum Windows XP/2000/ME
    Replies: 0
    Last Post: June 30th, 07:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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