Style:Margin added to P tag in Contribute 3

I'm cutting and pasting text from a basic text editor into
Contribute 3 and for whatever reason it seems intent on adding
"style='margin-bottom: 0;'" or " style='margin-top:0;
margin-bottom: 0;'" to my p tags. This is interfering with my CSS
styles. Why is this happening and how can I get rid of it?
There is no instance of this manual style in the template
that I'm using to constuct the page. Any help would be greatly
appreciated.
Does this problem go away in Contibute 4?
David

There's an option in Contribute 4, not sure about 3, where
you can tell Contribute to use inline css or just plain p tags.
Try going to administer website, highlight a role, click edit
role settings, select editing on the left menu, then under the
paragraph spacing heading select the "Two lines" radio button.
Not sure if its the same in Contribute 3, but I believe the
option is there somewhere.

Similar Messages

  • Is there a way of adding a b tag in Muse

    Is there a way of adding a < b > tag to your muse without the styling being done in a style sheet - For seo purposes I think it is better that the tag is placed in the HTML

    No, but there is a way to export <strong>: with your bold text selected, create a new character style (Window > Character Styles), then double click it or use the Style Options context menu. In  the dialog that appears, select Span Tag: <strong> Important.  Muse will export any text to which you apply this character style as a <strong/> element.
    Abhishek

  • Mysterious FM- RH style mapping override with span tag

    I have been working in a super clean FM and RH project that is has one to one mappings for all my styles in the FM to same named styles in RH, just to be sure I do not mess up. Still, though, I seem to get a mystery mapping.  For my bullets and lists, RH is adding a span tag with font set to Times Roman.  I cannot find *any* css that has Times Roman. I've checked things like my character tags, my cross reference tags, etc and cannot find a correlation.  Where would this be added if it's not in my FM Format definitions and not in my RH Style definitions. I tried reimporting the book to see if it needed a tickle of the project mappings template but that didn't help.
    I'm attaching some images in hopes someone has ideas. The example does not appear to be times roman in Design view, but in more complex topics it's pretty obvious.
    I have so many hacks for single sourcing now, about ready to give up.
    Got help?
    FM 10
    RH 11

    Thanks for the fast reply Arnis,
    I did not even notice that the span tag ended on the spaces, so it can't be what's causing the odd previews I'm seeing.  So it seems my original question is not well thought out, so I'm going to retest with some other style changes.
    Still, though I'm wanting to follow up on getting rid of the Times tag anyway.  The bullets are always defined as Verdana. Bullet is set to use "Default Font" while BulletLevel2 uses "Bold" (the char def for Bold is also Verdana).  Is there some place I have to map "tabs" to not be Times? I dont think it's the Default Font issue because bullet 2 uses Bold.
    Here are some screenshots.

  • CF on server adding an /html tag to doc!

    Hi all,
    I'm not sure what the culprit is here. I'm looking at a file
    on my localhost that renders fine. But when I push it to my live
    server, it's got a big break between the header and body content
    (which is a .cfm template include).
    As far as I can tell, the problem is that the javascript
    added on the server by CF is adding a </html> tag to the very
    beginning of my file, causing the break.
    Here's the code I see when there's a problem:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Application</title>
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
    SRC="/CFIDE/scripts/cfform.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function _CF_checkCFForm_1(_CF_this)
    if (!_CF_hasValue(_CF_this.PID, "PASSWORD" ))
    if (!_CF_onError(_CF_this, _CF_this.PID, _CF_this.PID.value,
    "YOU MUST ENTER A VALID PID"))
    return false;
    return true;
    //-->
    </SCRIPT>
    </head>
    </html>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    Any ideas where this </html> is coming from?
    Thanks!
    Rick

    Use CSS.
    hr { margin:5px;padding:5px; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "DJDEL0530" <[email protected]> wrote in message
    news:f4esuk$p8o$[email protected]..
    > Hello All,
    > Inserting a seperator bar using the "HTML" tab and
    clicking the "hr" gives
    > me
    > a nice seperator.
    > The page I'm talking about is
    >
    http://empdigital.net/boxingpreview/home_testv1.html
    in the "Spnsors"
    > column.
    > I can't figure out how to control the amrgin above &
    below the rule.
    > Any help?
    > thanks
    >

  • Adding alt text tags in InDesign (and Acrobat Pro)

    I am having real difficulty adding alternative text tags. I created an INDD doc with rollover buttons linked to URLs firstly in InDesign CS4. I couldn't add alt text tags in CS4 so I then tried to add them in Acrobat X Pro but failed. Acrobat keeps wanting to class the PDF as a form. I then installed InDesign CS6 from the cloud and added alt text to the rollover buttons via object export options. However, these do not show when I export to PDF.
    Can someone help me add alt text to my rollover buttons in my interactive PDF either in InDesign CS6 or in Acrobat Pro after I export it?

    In InDesign CS6, you just need to add descriptions to buttons. This is done in the buttons and forms panel:
    This is the alt text in Acrobat when you roll over the button:
    Hope that helps!

  • [svn:osmf:] 10017: Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons.

    Revision: 10017
    Author:   [email protected]
    Date:     2009-09-04 06:43:44 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons. Setting theme color to red.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/openvideoplayer/view/MainWindowLayout .mxml
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/ExamplePlayer.css
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/assets.swf

    Revision: 10017
    Author:   [email protected]
    Date:     2009-09-04 06:43:44 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons. Setting theme color to red.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/openvideoplayer/view/MainWindowLayout .mxml
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/ExamplePlayer.css
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/assets.swf

  • [svn:fx-trunk] 5067: In preparation for adding ASDoc version tags for Flex, remove old tags from AIR files

    Revision: 5067
    Author: [email protected]
    Date: 2009-02-25 08:21:22 -0800 (Wed, 25 Feb 2009)
    Log Message:
    In preparation for adding ASDoc version tags for Flex, remove old tags from AIR files
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode .as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.a s
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode .as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent .as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBack groundSkin.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin .as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.a s
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSki n.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSki n.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin .as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as

    I'm also having this problem. I'm using Flash Builder 4.6, AIR 3.4 and I've made a DLL (e.g. ExtensionDll.dll) which needs to call functions in another DLL (e.g. DllUsedByExtensionDll.dll) . I've made sure my ANE is working with the ExtensionDll.dll already, so there are no issues with my actionscript code or my ANE packaging or my DLL compilation. However, once I start calling functions from the other DLL, it starts throwing me Error #3500. Even if I call this function (e.g. abc()) in ExtensionDll.dll, but I never actually use the function from actionscript, and I call another function (e.g. def()) from actionscript, the Error #3500 still appears, so it does not seem to depened on the whether the code is used or not.
    It's similar to this problem.
    http://stackoverflow.com/questions/9823504/how-to-use-external-dll-in-air-native-extension
    Does anyone have a solution or at least a way to debug this?

  • Hitting CR puts p style=margin-top: 0 in HTMLEditorKit, how to change?

    Hello all, I notice that when I hit enter in my JTextPane, java puts in
    <p style="margin-top: 0">some text</p> around the line of text.
    this looks fine in the JTextPane, but if I save the contents and view
    in a web browser (or other html viewers) I see what appears to be a line break between each line. I believe this is because there is no bottom margin. When I add bottm margin style, I see one line after another with no emtpy lines in between them.
    so my question is, how
    can I change the action associated with hitting CR to insert
    <p style='margin-top:0; margin-bottom:0'>some text</p>
    if so, can someone please point me to an example.
    thank you

    think I am on to something, but not sure this is the best way
    Style mainStyle = document.getStyle(StyleContext.DEFAULT_STYLE);
    Style bottomMarginPlusMainStyle = textPane.addStyle("p", mainStyle);
    StyleConstants.setSpaceBelow(bottomMarginPlusMainStyle, 0.0f);
    any other suggestions, after this I see a
    <style>
    p {margin-bottom: 0.0}
    </style>
    at the top of my source code for JTextPane

  • How do I create Meta Tags in Contribute?

    How do I create meta tags in Contribute. Also, how do I verify if they are inserted correctly in my code and working?

    The answer depends upon the type of meta tag you are trying to insert.

  • [svn:fx-4.x] 14456: Adding ASDoc version tags classes

    Revision: 14456
    Revision: 14456
    Author:   [email protected]
    Date:     2010-02-26 07:45:53 -0800 (Fri, 26 Feb 2010)
    Log Message:
    Adding ASDoc version tags classes
    QE notes:
    Doc notes:
    Bugs:
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/automation/src/mx/automation/events/EventDetail s.as
        flex/sdk/branches/4.x/frameworks/projects/automation_air/src/mx/automation/air/AirDragMan agerAutomationHandler.as
        flex/sdk/branches/4.x/frameworks/projects/automation_air/src/mx/automation/air/AirFunctio nsHelper.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkApplicationAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkBorderContainerAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkButtonAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkButtonBarAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkButtonBarButtonAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkDataGroupAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkGroupAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkLabelAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkNavigatorContentAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkPanelAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkRadioButtonAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkSkinnableContainerAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkSpinnerAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkTabBarAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkTileGroupAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkTitleWindowAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkToggleButtonAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkVideoPlayerAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/mediaClasses/SparkMuteButtonAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkButtonBarBaseAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkButtonBaseAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkGroupBaseAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkRangeAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkSkinnableComponentAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkSkinnableContainerBaseAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkTextBaseAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/supportClasses/SparkTrackBaseAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/events/Sp arkListItemSelectEvent.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/events/Sp arkValueChangeAutomationEvent.as
        flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/accessibility/AccConst.as
        flex/sdk/branches/4.x/frameworks/projects/rpc/src/mx/rpc/soap/SOAPResult.as

    I had downloaded it for test, and requested for evaluation license...
    But I haven't got license, and also I am not able to find Flash Builder Plugins from HFCD site....
    I think those plugins are removed from site....
    Please help me, if anyone have those plugins...

  • [svn:fx-trunk] 9317: Added ASDoc version tagging to all parts of these files where it was missing .

    Revision: 9317
    Author:   [email protected]
    Date:     2009-08-14 14:13:16 -0700 (Fri, 14 Aug 2009)
    Log Message:
    Added ASDoc version tagging to all parts of these files where it was missing. Code builds and Checkintest passes.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as

    Thats good news.

  • Adding more custom tags to large product page

    Is there any way to add more custom tags past tag_custom4?

    That's not possible. Those 4 custom fields is all you can use.
    There is a keywords field which you can utilise maybe. I think the tag for
    it is .
    Cheers,
    Mario Gudelj
    www.twoblokeswithapostie.com - Talk to us before you tell your clients:
    "No, Business Catalyst can't do that."
       Adding more custom tags to large product page  created by AnneGerber<http://forums.adobe.com/people/AnneGerber>in
    eCommerce - View the full discussion<http://forums.adobe.com/message/5050617#5050617

  • How do I remove automatic margins when using list tags?

    Hi there,
    i'm trying to create a list of links on my webpage using Dreamweaver CS4. I've created a .li tag using CSS so that no bullets/numbers show up and i've then created .ul a:link, ul a:hover etc compound tags to make all list items into rollovers.
    However, the text in the lists indents automatically (as if I have set some sort of margin) and is thus, out of line with the text above it. No margin/padding is set in any of the CSS elements so I am confused.
    Any help would be appreciated.

    yeah sure...
    code:
    </head>
    <body class="twoColFixLtHdr">
    <div id="container">
      <div id="header"><img src="../images/navbar_footer/navbar_ips.gif" alt="International Project Space" width="334" height="90" border="0" /><img src="../images/navbar_footer/navbar_ex.gif" width="128" height="90" alt="IPS- Exhibitions" /><img src="../images/navbar_footer/navbar_pro.gif" width="148" height="90" alt="IPS- projects" /><img src="../images/navbar_footer/navbar_info.gif" width="142" height="90" alt="IPS- Info" /></div>
      <!-- end #header -->
      <div id="sidebar1"><!-- end #sidebar1 -->
      </div>
      <div id="mainContent">
      <ul>
        <li><a href="../index.html">Current</a></li>
        <li><a href="../index.html">Forthcoming</a></li>
        <li><a href="../index.html">Archive</a></li>
        <li><a href="../index.html">NOICES</a></li>
      </ul>
      <!-- end #mainContent --></div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
    <br class="clearfloat" />
      <div id="footer"><img src="../images/navbar_footer/footer.gif" width="193" height="80" alt="IPS- Contact Us" />
      <!-- end #footer --></div>
    <!-- end #container --></div>
    </body>
    </html>
    CSS:
    @charset "UTF-8";
    body  {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: #666666;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #000000;
    .twoColFixLtHdr #container {
    width: 780px; 
    background: #FFFFFF;
    margin:0 auto;
    text-align: left;
    .twoColFixLtHdr #header {
    margin: 0;
    background: #FFFFFF;
    padding: 0 0px 0 0px; 
    .twoColFixLtHdr #header h1 {
    margin: 0;
    padding: 0px 0;
    .twoColFixLtHdr #sidebar1 {
    float: left;
    width: 334px;
    background: #FFFFFF;
    padding: 0px;
    height: 529px;
    .twoColFixLtHdr #mainContent {
    margin: 0 0 0 334px;
    padding: 0 7px;
    .twoColFixLtHdr #footer {
    background:#FFFFFF;
    width: 334px;
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0;
    padding-left: 0px;
    .twoColFixLtHdr #footer p {
    margin: 0;
    padding: 10px 0;
    .fltrt {
    float: right;
    margin-left: 8px;
    .fltlft {
    float: left;
    margin-right: 8px;
    .clearfloat {
    clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    ul a:link {
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    color: #000;
    text-decoration: none;
    ul a:visited {
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    color: #000;
    text-decoration: none;
    ul a:hover {
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    color: #F00;
    li {
    list-style-type: none;

  • Need script for Marginal Elements consists two tags

    Hi Everyone,
    I need a script for the Marginal Elements having two Paragraph tags. Object Styles, Library items are all availale for this job. My requirement is cut the two paragraph tags and put it in library items and also using object styles as well. Is it possible? Can you help for this. For more clarification i have attached that file also.
    Waiting for your reply....

    Hi Try This code.....
    main();
    function main(){
        if (app.documents.length!=0){
            if(app.libraries.length!=0){
            myStyleDialog();
            else {
                alert ("Please open the Library.");
        else {
            alert ("Please open a document and try again.");
            exit(0);
    function myStyleDialog(){
    var myLabelWidth = 120;
    var myParaStyleNames = myGetParagraphStyleNames();
    //var myObjStyleNames = myGetObjectStyleNames();
    var myDialog = app.dialogs.add({name:"Choose Styles to Place Anchor"});
    with(myDialog.dialogColumns.add()){
        with(borderPanels.add()){
            with(dialogColumns.add()){
                with(dialogRows.add()){
                    with(dialogColumns.add()){
                        staticTexts.add({staticLabel:"Choose Paragraph Style1:", minWidth:myLabelWidth});
                    with(dialogColumns.add()){
                        myParaStyleDropdown1 = dropdowns.add({stringList:myParaStyleNames, selectedIndex:0});
                  with(dialogRows.add()){
                        with(dialogColumns.add()){
                            staticTexts.add({staticLabel:"Choose Paragraph Style2:", minWidth:myLabelWidth});
                        with(dialogColumns.add()){
                            myParaStyleDropdown2 = dropdowns.add({stringList:myParaStyleNames, selectedIndex:0});
    //~                     with(dialogRows.add()){
    //~                         with(dialogColumns.add()){
    //~                             staticTexts.add({staticLabel:"Object Styles:", minWidth:myLabelWidth});
    //~                             }
    //~                         with(dialogColumns.add()){
    //~                             myObjectStyleDropdown = dropdowns.add({stringList:myObjStyleNames, selectedIndex:0});
    //~                     }
    //~         }
        myReturn = myDialog.show();
        if(myReturn == true){
             myParagraphStyle1 = myParaStyleNames[myParaStyleDropdown1.selectedIndex];
            myParagraphStyle2 = myParaStyleNames[myParaStyleDropdown2.selectedIndex];
            // myObjectStyle = myObjStyleNames[myObjectStyleDropdown.selectedIndex];
             myDialog.destroy();
          else {
          myDialog.destroy();
    function myGetParagraphStyleNames(){
        var myStyleNames = app.documents.item(0).paragraphStyles.everyItem().name;
        return myStyleNames;
    //~ function myGetObjectStyleNames(){
    //~     var myObjStyleNames = app.documents.item(0).objectStyles.everyItem().name;
    //~     return myObjStyleNames;
    //~ }
    var myDoc = app.activeDocument;
    var myStory = myDoc.stories;
    var myParas, myCount = 0;
    var myLib = app.libraries[0];
    var AnchorItemName = prompt("Enter the Library Item Name Exactly","","Anchor Item");
    for(i=0; i<myStory.length; i++)
        myParas = myStory[i].paragraphs;
        if (myParas.length>3)
            for(j=0; j<myParas.length-1; j++)
                var firstPara = myParas[j];
                var nextPara = myParas[j+1];
                var firstParaStyle = firstPara.appliedParagraphStyle.name;
                var nextParaStyle = nextPara.appliedParagraphStyle.name;
                if ((nextParaStyle == myParagraphStyle2)&&(firstParaStyle == myParagraphStyle1))
                    myText = myLib.assets.item (AnchorItemName).placeAsset (firstPara.insertionPoints[0])[0];
                    firstPara.move(LocationOptions.after, myText.insertionPoints[0]);
                    nextPara.move(LocationOptions.after, myText.insertionPoints[-1]);
                    myText.fit(FitOptions.frameToContent);
                    myCount++;
                    }//End if
            }//End of Para iteration
        }//End of If paralength>2
        }//End of story iteration
    alert(myCount + " Ocurrences Found and Processed");
    Green4ever

  • Can additional Canon EOS picture styles be added to Lightroom 3.6?

    Additional picture styles such as Twilight, Autumn Hues and Studio Portrait can be added to Canon EOS cameras using the User Defined slots.  They can be downloaded from http://web.canon.jp/imaging/picturestyle/file/index.html
    Can these be added to the drop down list of profiles in Camera Calibration?

    Right...you'll have to shoot color charts with them and use those to create the profiles.

Maybe you are looking for

  • Cannot install itunes on my laptop even though it was  previsouly installed

    I used to have iTunes on my laptop and it worked fine until I had to download the new version.  At first, I got a error back about a language issue so I unintalled and installed again.  This time it will not install at all.  I have tried on numerous

  • PS4 and 64 bit Win 7 on a laptop... What problems am I in for?

    I'm a noobie to laptops, and I can't live without my Wacom tablet and pen.  I'd appreciate knowing how detail drawings are done by PS 4 or other users  with this OS and what problems 64 bit will create with this software. Some laptop questions too: I

  • FM 12 crash leads to disastor

    Framemaker 12 crashed on me while I was editing a relatively large book ~130 pages. There are many figures, tables and even some imported text. While I was inserting some more anchored frames the file crashed. I reloaded it, and everything looked fin

  • RMI Service and FR Service abrupt shutdown

    Hi guys, I got problem with my BI 931 services, and it's weird since the behavior is randomly happen. The FR Server services and RMI services sometimes abrupt shut down, this is development server so the users are minimal (some cases no one using it

  • Weird output from cube

    Hello Friend, I am facing really interesting situation,let me explain.there are two queries below give me different result,but should have been same. I have attribute relationship like Store Key - Deposite Description    For the store Dimension key a