I've been 'handcoding' CSS style tags and thinking there must be a smarter way. When I add a tag by typing '<' then select the tag, space and 'cl' to get class="" and then see the dropdown selection of class names (is it only the ones assigned to the 'span' tag?) what is done / how is it decided what appears in the dropdown? Sometimes nothing; othertimes a list that includes duplicate entries 'hide' and 'hide'.
Please explain / inform / guide.
Our website is www.cinegaelmontreal.com, heading towards our 22nd season of Irish Films for our Montreal audience.
Please explain / inform / guide.
Our website is www.cinegaelmontreal.com, heading towards our 22nd season of Irish Films for our Montreal audience.
Are you using a style sheet, style tag or inline css?

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I've got a variety of style sheets, all residing in a /css folder under the root. - Antoine
When you type '<' you get a list of all the tags names that can be used inside a tag. You can select 'span'. Then it will look like this: <span|></span> (the | is supposed to show where your insertion point is). Then type a space, and you will get a list of all the values that a span tag can have. When you select 'class', you get this: <span class="|"></span> and you can type your class name where the insertion point is.
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Hi all, hi Inger and hi Norway (love the writer Jo Nesbo by the way).
You've essentially repeated what I wrote in my original query.
My question is about what happens right at the end, when I'm at the class name insertion point; it again, as at each of the previous insertions, offers a dropdown list of possible / available class names - sometimes, but not always.
I want a Coffee Cup developer to explain what's going on and how the dropdown list is composed at that point and how it can be controlled. I'm a developer myself and these things don't usually happen by chance or by God. ...or another Coffe Cup HTML Editor user who has gained an understanding of this.
Thanks all of you for weighing in with the answers, - Antoine in Montreal
You've essentially repeated what I wrote in my original query.
My question is about what happens right at the end, when I'm at the class name insertion point; it again, as at each of the previous insertions, offers a dropdown list of possible / available class names - sometimes, but not always.
I want a Coffee Cup developer to explain what's going on and how the dropdown list is composed at that point and how it can be controlled. I'm a developer myself and these things don't usually happen by chance or by God. ...or another Coffe Cup HTML Editor user who has gained an understanding of this.
Thanks all of you for weighing in with the answers, - Antoine in Montreal
Ok, I think I see what you mean. When you get to the insertion of a class name, sometimes the Editor offers up a list of the classes you have defined for that page/site. But I haven't really paid too much attetion to this, so I'm lost at explaining why that happens sometimes and not always. Maybe someone else is sitting on the answer...
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Tony Maloney wrote:
...how is it decided what appears in the dropdown? Sometimes nothing; othertimes a list that includes duplicate entries 'hide' and 'hide'....
...how is it decided what appears in the dropdown? Sometimes nothing; othertimes a list that includes duplicate entries 'hide' and 'hide'....
In my experience, the dropdown list for classes consistently includes all classes available, i.e. classes defined in style sheets referenced in the particular page I'm working on. I have never seen the situations you are referring to , Antoine, with empty dropdowns or duplicate entries, etc..
Are you using the latest version of the Editor?
Per
www.mingas.com
www.mingas.com
Per :: I wasn't when I made the post yesterday; was at 12.6. Upgraded to 12.8 overnight and haven't gone back in to try it.
In your experience is it all class names in all referenced (linked and inline) stylesheets, or only classes assigned to the specific element - or no/all elements? ...or is their a CSS folder that can be pointed to as the default?
Many thanks. Your response gives me hope that CC will work as I'd like it to work.
In your experience is it all class names in all referenced (linked and inline) stylesheets, or only classes assigned to the specific element - or no/all elements? ...or is their a CSS folder that can be pointed to as the default?
Many thanks. Your response gives me hope that CC will work as I'd like it to work.
again Per :: Just tried the latest version [12.8 build 691] and behaviour is as before. I can understand that some class names may appear in multiple stylesheets and thus appear twice ...or more?! - but why are some not appearing.
These classes are in a linked stylesheet, but do not appear: FilmOptions; withCast; andCast Two are for 'span' element, one for 'p' element.
span.FilmOptions {
width:180px;
position:relative;
float:right;
text-align: right;
font-family: tahoma, arial, verdana, sans-serif;
font-size: 8pt;
font-weight: bold;
color: rgb(51, 102, 255);
}
span.withCast {
font-family: tahoma, arial, verdana, sans-serif;
font-size: 10pt;
font-style: italic;
font-weight: normal;
color: #222222;
}
p.andCast {
width:675px;
float:left;
position:relative;
clear:right;
left:10px;
text-align: left;
font-family: tahoma, arial, verdana, sans-serif;
font-size: 11pt;
font-style: italic;
font-weight: normal;
color: #222222;
}
These classes are in a linked stylesheet, but do not appear: FilmOptions; withCast; andCast Two are for 'span' element, one for 'p' element.
span.FilmOptions {
width:180px;
position:relative;
float:right;
text-align: right;
font-family: tahoma, arial, verdana, sans-serif;
font-size: 8pt;
font-weight: bold;
color: rgb(51, 102, 255);
}
span.withCast {
font-family: tahoma, arial, verdana, sans-serif;
font-size: 10pt;
font-style: italic;
font-weight: normal;
color: #222222;
}
p.andCast {
width:675px;
float:left;
position:relative;
clear:right;
left:10px;
text-align: left;
font-family: tahoma, arial, verdana, sans-serif;
font-size: 11pt;
font-style: italic;
font-weight: normal;
color: #222222;
}
I don't define my classes to be tag-specific quite the way you do, so I really don't know how those would appear in the dropdowns. But I suspect your problem is tied in with that somehow. Sorry, can't help you much there...
I'm still struggling a bit with understanding why you would define your classes in that manner....
Instead of: span.FilmOptions {....
I would probably define: .FilmOptions span {...
...and thereby keep the .Film Options class 'available' for any other tag...(?)
I would also tend to avoid mixing upper and lower case letters...
But it's getting late here and I'm getting a bit cross-eyed, so I'd better sign off for now...
I'm still struggling a bit with understanding why you would define your classes in that manner....
Instead of: span.FilmOptions {....
I would probably define: .FilmOptions span {...
...and thereby keep the .Film Options class 'available' for any other tag...(?)
I would also tend to avoid mixing upper and lower case letters...
But it's getting late here and I'm getting a bit cross-eyed, so I'd better sign off for now...

Per
www.mingas.com
www.mingas.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.