Professional Web Applications Themes

apply only the webmaster styles - Macromedia Contribute General Discussion

Hi to all. Configuring a role to obligate using only the styles included in a file is possible? In fact C3 inserts some awful inline CSS tags sometimes. How can I make possible for a user to apply ONLY the styles that the I want without inserting other inline styles or "align" attributes to paragraphs and images? Expecialli when the user paste contents from word or the browser. Thanks to all in advance. -- Simmetry...

  1. #1

    Default apply only the webmaster styles


    Hi to all.
    Configuring a role to obligate using only the styles included in a file
    is possible? In fact C3 inserts some awful inline CSS tags sometimes.
    How can I make possible for a user to apply ONLY the styles that the I
    want without inserting other inline styles or "align" attributes to
    paragraphs and images? Expecialli when the user paste contents from
    word or the browser.
    Thanks to all in advance.

    --
    Simmetry
    Simmetry Guest

  2. #2

    Default Re: apply only the webmaster styles

    I'm uncertain whether this will address your larger issue of what happens when
    content is pasted, but you can limit users to using styles contained within a
    CSS file. Here's how:

    1. Do Edit | Administer Websites, and select the web site in question.

    2. The Administer Website dialog appears. Under Users and Roles, select the
    role you wish to tailor, and click Edit Role Settings.

    3. On the dialog that then appears, under Styles and Fonts, you can uncheck
    several items, and also set it up to allow styles from a specific CSS file if
    you wish.

    Again, I'm not sure what this does for pasted content, as I've not tested that
    personally, but hopefully the response is helpful.


    abryant23 Guest

  3. #3

    Default Re: apply only the webmaster styles

    abryant23 wrote:
    > I'm uncertain whether this will address your larger issue of what
    > happens when content is pasted, but you can limit users to using
    > styles contained within a CSS file. Here's how:
    >
    > 1. Do Edit | Administer Websites, and select the web site in
    > question.
    >
    > 2. The Administer Website dialog appears. Under Users and Roles,
    > select the role you wish to tailor, and click Edit Role Settings.
    >
    > 3. On the dialog that then appears, under Styles and Fonts, you can
    > uncheck several items, and also set it up to allow styles from a
    > specific CSS file if you wish.
    >
    > Again, I'm not sure what this does for pasted content, as I've not
    > tested that personally, but hopefully the response is helpful.
    I'm sorry, but the problem is another. The problem is that C3 creates
    some some messy also with all the limits you told before. The only way
    is to unable users apliyng styles. But I don't want to do it. I want
    they can apply styles I made for them.

    --
    Simmetry
    Simmetry Guest

  4. #4

    Default Re: apply only the webmaster styles

    Simmetry,

    One option that you might try is to define some of the styles to be hidden. So
    for example, by adding mmhide to the style name it willbe hidden in Contribute
    but visible in Dreamweaver.

    .mystyle would become .mmhidemystyle


    jnosal3 Guest

  5. #5

    Default Re: apply only the webmaster styles

    jnosal3 wrote:
    > Simmetry,
    >
    > One option that you might try is to define some of the styles to be
    > hidden. So for example, by adding mmhide to the style name it willbe
    > hidden in Contribute but visible in Dreamweaver.
    >
    > .mystyle would become .mmhidemystyle
    I think the problem is my bad english... :)

    The problem is not to hide some of MY styles, but the problem is that
    C3 applies his inline styles or tags. It creates messy code. I'd like
    that C3 paste only text, and apply only my styles.

    --
    Simmetry
    Simmetry Guest

  6. #6

    Default Re: apply only the webmaster styles

    The html code must also be changed, in addtion to the css file, so that the
    html tag reads (for example):

    <body class="mmhideleftfade">

    While css file reads .mmhideleftfade {color:#FFFFFF;}

    There is an excellent discussion on this point in the Styles forum between
    John and myself that explains how to create specific css classes but NOT show
    them in the drop down menu in Contribute. I've found it extremely useful. One
    caveat: I've not been able to get this to work when using css shortcuts. For
    example:

    .q1hide, .q2hide, .q3hide, .q4hide, .q5hide, .q6hide, .q7hide, .q8hide,
    ..q9hide, .q10hide, .q11hide, .q12hide, .q13hide, .q14hide, .q15hide, .q16hide,
    ..q17hide, .q18hide, .q19hide, .q20hide, .q21hide, .q22hide { DISPLAY: none }

    will not work, you have to specify each style individually.

    I recommend you read the posting regarding this wonderful trick in the Styles
    section of the Contribute forum.

    This can save the developor, and the Contribute users, a great deal of
    frustration and errors by permitting alternate styles to be used by the
    developer but not accessable by the Contribute users.

    Good luck and enjoy!

    awelendam Guest

  7. #7

    Default Re: apply only the webmaster styles

    awelendam wrote:
    > The html code must also be changed, in addtion to the css file, so
    > that the html tag reads (for example):
    >
    [...]

    AAAARGH!!!!
    I know how to hide webaster styles (I use a more easy way than yours. I
    can simple link 2 css files to a doent. One called
    "webmaster_styles.css" and another called "applicable_styles.css" and I
    set C3 to permit appliyng only the styles in applicable_styles.css).

    The problem is that C3 inserts some messy code! For instance: <img
    src="image" stile="margin:0" />
    Try to insert an image with C3. It asks to you if you want borders or
    margins. The same with paragraphs!!!!!


    --
    Simmetry
    Simmetry Guest

  8. #8

    Default Re: apply only the webmaster styles

    Simmetry,

    This can be defined in the Role settings in the Styles and Fonts category.
    There is a pop-up at the top of the section that allows you to define this
    option. You will want to set it to Don't allow user to create styles.


    jnosal3 Guest

  9. #9

    Default Re: apply only the webmaster styles

    jnosal3 wrote:
    > Simmetry,
    >
    > This can be defined in the Role settings in the Styles and Fonts
    > category. There is a pop-up at the top of the section that allows
    > you to define this option. You will want to set it to Don't allow
    > user to create styles.
    No, it's not. If you select to not allow user to CREATE styles, you
    also not allow them to APPLY styles.
    So this option should be renamed to NOT ALLOW USER TO APPLY AND CREATE
    STYLES.

    And my problem is not resolved.

    --
    Simmetry
    Simmetry Guest

  10. #10

    Default Re: apply only the webmaster styles

    Simmetry, calm down. We can get this fixed.

    I think he's referring to the line break issue. Where Contribute automatically
    inserts inline margin CSS, such as:

    <p style="margin-top:0; margin-bottom:0;">

    Ever since Contribute 2, the program would insert this in order to "fix"
    faluty rendering which sometimes would occur if the administrator used CSS to
    alter the line-height of certain block level elements.

    To disable this, go into the Admin panel. -> Administer web site -> Users &
    Roles category -> (now for EVERY user) Edit Role Settings -> Editing (tab) ->
    under "paragraph spacing" make sure -> "Two lines" is selected instead of just
    one. -> Click "OK", then "Close".

    mzanime.com Guest

Similar Threads

  1. Apply styles, keep italics? InDesign CS
    By Jacob_Stevens@adobeforums.com in forum Adobe Indesign Windows
    Replies: 3
    Last Post: April 12th, 03:39 AM
  2. Yes, you can apply styles to images
    By gallery in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: June 24th, 04:10 PM
  3. www.tamboursdubronx.com recherche webmaster
    By Pozzi in forum Macromedia Flash
    Replies: 1
    Last Post: October 30th, 07:42 PM
  4. Looking for Online Webmaster Resources?
    By Darnoc webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 25th, 11:01 PM
  5. Replies: 1
    Last Post: July 9th, 07:16 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