class inheritance: need explanation

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

class inheritance: need explanation

Post by bonnie »

I'm trying to understand the concept of style inheritance. I realize that a class that I create inherits from its parent style tag. But if I try to delete a class that I've made (e.g., td.bottom_align), I get the message "The style td.bottom_align cannot be removed since it is inherited and not defined in this stylesheet."

But I only have one stylesheet, so... what is this message trying to tell me?
Thanks to anyone who can explain this to me.
Bonnie?
SteveS
Senior Propellus Maximus
Posts: 2087
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: class inheritance: need explanation

Post by SteveS »

Hi Bonnie,

Is there anywhere you've applied the style? If so try removing all references from it.

I'd also open my table style sheet if I were you - that looks like a tablestyle and Flare uses a seperate stylesheet foe some of the table stuff.
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: class inheritance: need explanation

Post by bonnie »

Is there anywhere you've applied the style? If so try removing all references from it.
Thanks for the suggestion. I couldn't find anyplace where I was using the style although I may have overlooked it.
I was able to delete the unwanted class by opening the .css file in the Internal Text Editor and deleting it there.
Post Reply