class inheritance: need explanation

This forum is for all Flare issues related to styles, stylesheets and XML.

class inheritance: need explanation

Postby bonnie on Wed Jun 18, 2008 10:17 am

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?
bonnie
Sr. Propeller Head
 
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: class inheritance: need explanation

Postby SteveS on Wed Jun 18, 2008 3:31 pm

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.
SteveS
Senior Propellus Maximus
 
Posts: 2010
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).

Re: class inheritance: need explanation

Postby bonnie on Thu Jun 19, 2008 3:26 pm

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.
bonnie
Sr. Propeller Head
 
Posts: 158
Joined: Wed May 14, 2008 4:00 pm


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 9 guests