yeah the other thing I do in such a situation...

like:

.fontClass, .tblClass {
    font-family: verdana, arial;
    color: white;
}

.tblClass {
    background: red;
    border: 1px solid black;
}




-----Original Message-----
From: Scott Barnes [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 February 2003 16:39
To: CFAussie Mailing List
Subject: [cfaussie] Re: CSS Inheritanceananannceers



like:

.fontClass {
    font-family: verdana, arial;
    color: white;
}

.tblClass {
    background: red;
    border: 1px solid black;
}


i want the fontclass's fonts to be inherited by the tblClass

i've tried

.tblClass > .fontClass {}

and it won't work ??

Scott


"Brian Gilbert" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> this what you mean Scott??
>
>
> #main {
> background: #FFFFFF;
> border: 1px solid #000000;
> }
>
>
> #main #menu {
> background: #CCCCFF;
> border-bottom: 1px dashed #000000;
> border-left: 1px dashed #000000;
> float: right;
> margin: 0px 0px 10px 10px;
> width: 150px;
> }
>
>
> Brian Gilbert
>
> Wesley College, Melbourne Australia
> Position:  Web Architect
> E-mail:     [EMAIL PROTECTED]
> Ph:          +61 (0)3 9881 5459
> Fx:           +61 (0)3 9802 0142
>
> Personal Website: http://www.realityloop.com/
>
> >>> [EMAIL PROTECTED] 02/27/03 04:13pm >>>
> HTF do you do CSS inheritance?
>
> ie i have parent class with all my font properties, and i want my
> specific
> "tblHeadingClass" to inherit the font properties?
>
> Someones got my green book (CSS bible) and i'm lost without it.
>
> (of course .Parent Child {} won'twork)
>
> Scott.
>
>
>
> ---
> You are currently subscribed to cfaussie as:
> [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to