I would think that I could do something like:
would cascade the attr(id) into the individual elements: .one, .two, .three. This does not seem to work that way. I had to explicitly declare the property for each element class.
Is this normal behaviour? I have no idea, but thought the first section of CSS was more intuitive. -John
div.manualbookmark{
bookmark-target: attr(id);
}
div.manualbookmark .one{
prince-bookmark-level: 1;
}
div.manualbookmark .two{
prince-bookmark-level: 2;
}
div.manualbookmark .three{
prince-bookmark-level: 3;
}
would cascade the attr(id) into the individual elements: .one, .two, .three. This does not seem to work that way. I had to explicitly declare the property for each element class.
div.manualbookmark{
}
div.manualbookmark .one{
prince-bookmark-level: 1;
bookmark-target: attr(id);
}
div.manualbookmark .two{
prince-bookmark-level: 2;
bookmark-target: attr(id);
}
div.manualbookmark .three{
prince-bookmark-level: 3;
bookmark-target: attr(id);
}
Is this normal behaviour? I have no idea, but thought the first section of CSS was more intuitive. -John
John Clarke
Cornerstone Systems Northwest Inc.