How to stop CT3 from adding style="margin-bottom: 0"

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

  1. #1

    Default 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. When a
    page is edited CT3 is adding style='margin-bottom: 0' to <h2> tags in locked
    regions. I don't understand why? Any Ideas

    TravelandUSA Guest

  2. Similar Questions and Discussions

    1. Unwanted margin-top and margin-bottom styles
      Editing a template-based page in Contribute CS3, there is no List Properties option (Help file says "Note: This option is not available for...
    2. Nested Style to exact "Word" or "Small Phrase"
      Ok, this question is for all you nested style experts - I use and love nested styles, but there's one trick I haven't figured out. As background, I...
    3. 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....
    4. Replication - ASNCMD "DBNAME" STOP does not stop Capure
      I am running DB2 version 7.2, when I execute ASNCMD dbname STOP. 8 out of ten times Capture will bring itself down. I need this to work 100% of...
    5. Question: User control shows up at bottom / can't "draw" it
      I created a VB.NET user control which I now want to use in my ASP.NET webform. The uc shows up fine in my toolbar, but when I click on it it goes...
  3. #2

    Default Re: How to stop CT3 from adding style="margin-bottom: 0"

    I don't have the solution, but if it's any comfort, I posted a very similar query some weeks ago. You are not alone.
    gefjo Guest

  4. #3

    Default Re: How to stop CT3 from adding style="margin-bottom: 0"

    When Contribute was first released, the use of CSS code (or a CSS-modified
    "line-height" property) caused its rendering engine to bug out and display some
    text overlapping inside of its edit view. So Macromedia made a quick and dirty
    fix. (no pun intended)

    Their fix was to make the program add style="margin-bottom: 0; margin-bottom;"
    to every paragraph tag, table cell, and header in the page. Sure it fixed the
    rendering issue, but was it a good solution? Hell no. Netscape 4 chokes on it
    everytime.

    Whats sad is that this setting is enabled by default. Luckily, there is a way
    to make it use normal <p> tags with no CSS junk inserted. But only the
    administrator can make this change.

    I'm using Contribute 3, so it may be a little different if you had 2, but
    anyway, click on: Edit > Administer web sites > (Web site name) > dialgue box
    pops up | Users and roles option > Click the "Edit role settings" button, for
    every individual role/user > Another dialogue box pops up > click the "Editing"
    option > Now look where it says "paragraph spacing", and select two lines,
    instead of one line. > Click "OK" and "Close"

    You may have to repeat this process for every user, but its good to try it on
    yourself first.

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