Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
Simmetry #1
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
-
Apply styles, keep italics? InDesign CS
Hello all. I want to be able to apply a full paragraph style to newly placed text, setting it all in the same font, specifying justification,... -
Yes, you can apply styles to images
I noticed that about a month ago someone in this group said that you cannot apply styles to images. That is not our experience ... at least with... -
www.tamboursdubronx.com recherche webmaster
Bonjour !! Les Tambours du Bronx (www.tamboursdubronx.com) recherchent un généreux webmaster pour designer un nouveau site à moindre frais ... ... -
Looking for Online Webmaster Resources?
Hi, I'm using DWMX and I'm currently looking for the best webmastering resources online. I just would like to know more design and marketing of... -
How to apply CSS Styles to just the EXTERNALS TABLE BORDERS??? help pls..
hello :-) I have been trying of so many ways apply css styles a table.. but however i had not results :( i did this: table { -
abryant23 #2
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
-
Simmetry #3
Re: apply only the webmaster styles
abryant23 wrote:
I'm sorry, but the problem is another. The problem is that C3 creates> 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.
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
-
jnosal3 #4
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
-
Simmetry #5
Re: apply only the webmaster styles
jnosal3 wrote:
I think the problem is my bad english... :)> 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
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
-
awelendam #6
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
-
Simmetry #7
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 document. 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
-
jnosal3 #8
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
-
Simmetry #9
Re: apply only the webmaster styles
jnosal3 wrote:
No, it's not. If you select to not allow user to CREATE styles, you> 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.
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
-
mzanime.com #10
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



Reply With Quote

