Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
timstringer #1
Contribute Adding Extra Code on Publish
One of our clients is using the Mac OS X version of Contribute 4 to make
changes to the following website:
[url]http://www.earlswantsyou.com[/url]
Making a simple text change to the centre column (main content area) and
Publishing causes the following code to be added to the sidebar menu on the
left:
<ul style="margin-bottom: 0;">
I've tried changing the user settings so that only text changes are permitted,
but it doesn't make any difference.
Has any else seen this (or similar) behaviour? Any workarounds to share?
Thanks for reading and for any assistance you're able to provide.
timstringer Guest
-
how do i stop contribute adding extra styles to my html code?
Try the post entitled "Erroneous code added to page" and see if that helps. -
how do i stop contribute adding extra styles to my htmlcode?
Could anybody please advise how to ensure that no extra style code is added to the html when you add any tags in contribute? I have styled my <p>... -
Adding extra rows to a DataGrid?
Hi everyone, I'm using a DataGrid to show records from a SQL query. The problem is, I'd really like to have two "extra" rows for every one... -
rtf adding extra return?
When I restore a members RTF property (from a propSave file) for some reason it adds and extra line at the end of the field. Could anyone me why... -
Dreamweaver MX adding 1 extra pixel to table
Hello, Why Dreamweaver MX adds an extra 1 pixel width to the table? I have a table that is 780 in width. Due to the way the web site was design... -
ThinkInk #2
Re: Contribute Adding Extra Code on Publish
You have to check two things:
1. de Editing option in the role settings.
2. the way styles are used in the Styles and Fonts option in the role settings.
ad 1.
With the Paragraph spacing option you maybe have chosen to use One line (word
processors) in stead of Dreamweaver style. When you have One line selected,
Contribute uses inline styles to make the paragraphs act like in a
word-processor ( <p style="margin-top:0; margin-bottom: 0;"> ). You could
achieve the same effect by choosing Dreamweaver style paragraphs and using CSS
to make the margins and padding 0.
ad 2.
Be carefull what you choose in the Styles and Fonts option. Often clients
would like to do things to their pages that will force you to make choices that
produce code you personally don't like. Play with CSS a lot and you can use
stylesheets with classes that you make available to your user with these
settings. You have to try these settings and check the results carefully, so
Contribute acts like you want it to.
grtz.
Hayo
ThinkInk Guest
-
timstringer #3
Re: Contribute Adding Extra Code on Publish
Thanks very much for your message Hayo!
Changing the paragraph spacing to "Dreamweaver Style" and removing the option
of adding any new styles fixed the problem. The confusing part is that the
area of the page where the extra code was being added (the sidebar menu) isn't
the area that was changed. In any case, it's working now.
Cheers,
Tim
timstringer Guest



Reply With Quote

