Previous Message
Next Message

Questions of inheritance (or why was I left out of the will?)

Sent by tedd on 24 December 2003 20:08


Hi gang:

Why don't these work?

Given an external style sheet containing:

#first
    {
    height: 200px;
    }

#second
    {
     height: inherit;
     }

And, within the html #second is nested within #first, then why isn't 
#second's height = 200px?

Similar question:

Given:

#first
    {
    height: inherit;
    }

#second
    {
     height: auto;
     }

And, again within the html #second is nested within #first, then why 
isn't #first's height = #second's height?

tedd
-- 
--------------------------------------------------------------------------------
http://sperling.com/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: