Thanks for your patience Robert. I just had a quick look at your code and
it is very close to what it needs. I have a couple of suggestions that I
hope will make it easier for you.
First, it looks like you made the styles in Freeway Pro’s Style Editor -
like
list li:nth-child(2):before
If so, then use the Style Editor’s interface to set the color and FWP will
automatically write the color code for you. The reason your extended color
code is not working is you have not written the syntax correctly and the
browser isn’t seeing it. That is why I say if you have indeed created these
styles in the Style Editor, you would have an easier go using the Style
Editor interface to set the color of the bullets.
The indent problem can be fixed too, because the colored bullets are not
“real” html bullets… with the help of the css text-indent property.
Download includes all the css named colors in the Freeway file:
My point was Ernie that you have to add more specificity if you want to target different Html containers with different styles. Hence #item1 targets the ‘box’ that has the title in FW of item1 etc.
The different styles (.list1, .list2, .list3, etc.) handle that specificity
just fine. Adding container id’s to the style is absolutely unnecessary.
–
Ernie Simpson
On Mon, Dec 24, 2012 at 8:28 AM, DeltaDave email@hidden wrote:
Box??
My point was Ernie that you have to add more specificity if you want to
target different Html containers with different styles. Hence #item1
targets the ‘box’ that has the title in FW of item1 etc.
Agreed, all other things being equal. But imagine if you wanted to have one or two minor points of difference between two or more complex styles. Rather than duplicating everything about those styles, I would put everything they have in common into a single class style, and then override the few unique things by dint of one or more ID-based styles. Then you apply the classname style to everything that you want to share the core attributes, and let the ID carry the few differences (and by virtue of the overwhelming specificity of ID-based styles, not have to worry about which one came first in Freeway’s resolutely alphabetized stylesheets).
Walter
On Dec 24, 2012, at 8:43 AM, Ernie Simpson wrote:
The different styles (.list1, .list2, .list3, etc.) handle that specificity
just fine. Adding container id’s to the style is absolutely unnecessary.
–
Ernie Simpson
On Mon, Dec 24, 2012 at 8:28 AM, DeltaDave email@hidden wrote:
Box??
My point was Ernie that you have to add more specificity if you want to
target different Html containers with different styles. Hence #item1
targets the ‘box’ that has the title in FW of item1 etc.