Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
richsky #1
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
-
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... -
#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... -
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... -
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... -
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... -
richsky #2
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
-
-
abna #4
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
-
mkgupta #5
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
-
mkgupta #6
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
-
abna #7
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
-
mkgupta #8
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
-
fatjester #9
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
-
abna #10
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
-
Marje #11
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
-
abna #12
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
-
-
Marje #14
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
-
abna #15
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
-
richsky #16
Re: H styles
Hey,
I couldn't think it was so logic we could guess!
At least it was an helpfull topic ; )
richsky Guest
-
fatjester #17
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



Reply With Quote

