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

  1. #1

    Default H styles

    Hi Contribute resellers!

    Installed new Contribute CS3 on two different customers yesterday.

    In one website in edit mode h titles are not showing despite I checked their
    availability in role setup.

    In the other website their are showing normaly, it doesn't seem to be a
    Contribute issue.

    An idea anyone?

    Shit! No time for this mess.

    Rich


    richsky Guest

  2. Similar Questions and Discussions

    1. CSS styles not showing on styles menu
      Hi, I have a CSS files that contains a couple of classes for font colours. I have ticked the "Include CSS styles in the Style menu" box and...
    2. #24095 [Com]: phpinfo styles override page styles and damage appearance
      ID: 24095 Comment by: joe at monkeydepartment dot com Reported By: generic at thetahat dot com Status: Open...
    3. changing type size in paragraph styles and how it effects nested styles
      In a book I'm developing, I decided to up the point size for my "first paragraph" and "body text" in my paragraph styles. I have nested styles in...
    4. TOC Styles
      How do I go about creating a style for my TOC entries? I've looked in the Paragraph styles but I can't seem to figure out how to make a style to...
    5. Word Styles Replacing My ID Styles
      Hello everyone, I Thought This Was Discussed Here in The Past But I Ran a Search for "Word Styles" and Found Nothing Related. I Send Documents...
  3. #2

    Default Re: H styles

    I add to click display CSS style sheet and not especially the .css I design despite it contain H style.

    Wird.
    richsky Guest

  4. #3

    Default Re: H styles

    Please explain this better.
    abna Guest

  5. #4

    Default Re: H styles

    Seriously. I don't understand your answer and desperately need to get my heading styles available to CS3 users (3.1 users can see them in the styles dropdown).
    abna Guest

  6. #5

    Default Re: H styles

    Hi Richard,
    I am trying to reproduce this issue. Please send me the .css file for which
    this issue was reproducible at [email]mangupta@adobe.com[/email]. In case you decide to send
    in the zip format, please add .txt in the extension as the .zip files will be
    removed at our end.

    Thanks,
    Manoj

    mkgupta Guest

  7. #6

    Default Re: H styles

    Hi abna,
    Please try the following:

    a) Administer the site
    b) In the "Administer website" dialog, select the appropriate
    role and click on "Edit role settings"
    c) Click on Styles and Fonts in left pane and make sure that
    "Include HTML heading styles(<h1>,...) in the Style menu" checkbox is
    checked.

    Please let me know if it resolves the issue, in case not please send me the
    css file for which the issue is reproducible at [email]mangupta@adobe.com[/email]

    Thanks,
    Manoj


    mkgupta Guest

  8. #7

    Default Re: H styles

    Yes, we already have heading styles enabled. And they appear in version 3.1, just not in version CS3. I will e-mail the css file.
    abna Guest

  9. #8

    Default Re: H styles

    Hi,

    When a limit CSS file is specified in the admin settings, we show only the
    styles that are defined in both the HTML file (via included CSS file) and the
    limit CSS file.

    As a special case, default heading styles (h1 to h6) are handled differently.

    * They are always shown if they are NOT defined in the included CSS file.
    * They are not shown if they are defined in the included CSS file, but not
    in the limit CSS file
    * They are shown if they are defined in both the included CSS file and the
    limit CSS file

    The problem is in the 3rd scenario mentioned above. When we compare whether
    the default heading styles are defined in the limit CSS file, our comparison
    fails because of the way the heading styles are defined in the limiting CSS
    file. If the headings styles are defined as a combination like below ("h1, h2,
    h3" and "h4, h5, h6"), then the comparison fails.

    /* default headings */
    h1, h2, h3 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }
    h4, h5, h6 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }

    The workaround is to define them separately as below.

    /* default headings */
    h1 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }
    h2 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }
    h3 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }
    h4 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }
    h5 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }
    h6 {
    font-weight: bold;
    border: 0px;
    padding: 0px;
    margin: 0px 0px 6px 0px;
    }


    Thanks,
    Manoj

    mkgupta Guest

  10. #9

    Default Re: H styles

    This is different than it was in Contribute 4, and this is causing major
    problems for my clients as they move to the newer version and they now lose the
    ability to add headings.

    Is this intentional for some reason, or is this a bug that will be fixed in an
    update?

    Thanks,
    -Chris

    fatjester Guest

  11. #10

    Default Re: H styles

    The did this on purpose, a misguided attempt to make it "more correct",
    essentially breaking what was working fine in the first place.

    Here's the response from Adobe:

    ----------------------------------------------

    When a limit CSS file is specified in the admin settings, we show only the
    styles that are defined in both the HTML file (via included CSS file) and the
    limit CSS file.

    As a special case, default heading styles (h1 to h6) are handled differently.

    * They are always shown if they are NOT defined in the included CSS file.
    * They are not shown if they are defined in the included CSS file, but not
    in the limit CSS file
    * They are shown if they are defined in both the included CSS file and the
    limit CSS file
    ----------------------------------------------

    In my case, I had the definitions in both, so they should have shown up, but
    it turns out it's even trickier. I had mine written like h1, h2, h3 {...}, but
    the way they coded it, it had to be redone as h1{...} h2{...} h3{...}.

    Hope this helps.


    abna Guest

  12. #11

    Default Re: H styles

    Our firm is having problems with loss of heading styles as well ... the last
    three created did not give access to the heading styles in Contribute CS3
    although we had checked the box ?Include HTML heading styles (<h1>, ?) in the
    Style menu". I sent an email message to Manoj with the particulars of our
    current problem and am hoping that Adobe can resolve this and send out a fix
    soon.

    Marje Guest

  13. #12

    Default Re: H styles

    I don't think it is something that they will "fix", since they did this on
    purpose. Just make sure your heading definitions are either in only the css
    file you specify in the Contribute admin, or only in the css file you don't
    specify, or make sure the headings are defined exactly the same way in both css
    files.

    abna Guest

  14. #13

    Default Re: H styles

    they are
    Marje Guest

  15. #14

    Default Re: H styles

    I received a response from Adobe this morning that solved the problem. It had
    to do with removing the heading selectors from the default settings that we put
    at the top of our stylesheets. This was a portion of Adobe's response - I hope
    it is helpful to others having the same problem:

    Hi:

    We are able to reproduce your issue. The workaround for this issue is, remove
    h1, h2, h3, h4, h5, h6 from the below mentioned code of
    styles-sunscreenprinting.css file.


    /*--------------- default settings ----------------------*/

    html, body, ul ,ol, li, dl, h1, h2, h3, h4, h5, h6, pre, form, fieldset,
    input, p, blockquote, img {

    margin: 0;
    padding: 0;
    color: #000033;
    background-color: transparent;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    }


    Marje Guest

  16. #15

    Default Re: H styles

    See, that's not them fixing the program. That's you fixing your css. And it's the same solution posted a week ago. Glad you got it fixed, though.
    abna Guest

  17. #16

    Default Re: H styles

    Hey,

    I couldn't think it was so logic we could guess!

    At least it was an helpfull topic ; )
    richsky Guest

  18. #17

    Default Re: H styles

    Problem 1:
    Styles defined in style sheets outside of the limiting style sheet are not
    showing up correctly in the dropdown style menu, but do display correctly in
    the edit pane.

    Problem 2:
    Styles defined in the limiting stylesheet show up correctly in dropdown style
    menu, but display incorrectly in the edit pane.

    Solution:
    Define the styles exactly the same in both the limiting stylesheet and your
    normal stylesheet and it works in both the dropdown menu, and the editing
    window (though this duplicates the style information) it will then show up
    correctly in both places (or at least it did for me).

    If anyone still cares, I can put up code.

    fatjester 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