[ale] [OT] Stylesheet question

Tyler Kiley tyler at kianta.com
Thu May 9 18:30:38 EDT 2002


Typically, when you want to inherit styles, you don't need to inherit from 
another class "laterally" in the stylesheet -- instead, define them in a 
class or element that is used higher up in the html tree.  Is that not 
possible?

Tyler

On Thursday 09 May 2002 04:08 pm, David Corbin wrote:
> Tyler Kiley wrote:
> >I don't know offhand what the syntax is for css inheritance ("Bar#Foo",
> >maybe?), but the best place to get accurate information about web content
> >standards is the w3c website (www.w3c.org).  They have the complete
> >specifications for html 4.01, html 3.2, xhtml 1.0, xml, xsl/xslt, css1,
> > css2, etc.... available on their site.  Very helpful.
>
> I've looked through (thought not thorougly studied) the spec.  The
> problem is, what they call inheritance is not what I want to do.  I
> didn't find anything, that did what I wanted, so I thought I'd check here.
>
> >Tyler
> >
> >On Thursday 09 May 2002 03:59 pm, David Corbin wrote:
> >>I have a style class:
> >>
> >>.Foo {
> >>color: white;
> >>background-color: black;
> >>.
> >>.
> >>. etc.
> >>}
> >>
> >>Is there a way to define class ".Bar" where I say, start with everything
> >>as if it were ".Foo", except for what I replace?
> >>
> >>Thanks.
> >>David
> >>(If someone knows a really good place to get answers to this type of
> >>question, other than ALE, please let me know)
> >>
> >>
> >>---
> >>This message has been sent through the ALE general discussion list.
> >>See http://www.ale.org/mailing-lists.shtml for more info. Problems should
> >>be sent to listmaster at ale dot org.
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
> be sent to listmaster at ale dot org.


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.






More information about the Ale mailing list