Previous Message
Next Message

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

Sent by tedd on 25 December 2003 16:04


I asked:

>  > 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?

David Dorward replied:

>It is, at least here (latest stable Mozilla), so either your HTML is
>faulty, or your browser of choice is.

Interesting. Please review http://www.webbytedd.com/

If your browser is Safari, then you'll see a red box with "This is 
text" with a blue line directly beneath the text. An example of no 
inheritance.

If your browser is IE, then you'll see a red box with "This is text" 
and a blue line at the bottom of the red box -- looks like a fuzzy 
purple line. An example faulty inheritance.

If your browser is Netscape, then you'll see a three sided red box 
with "This is text" and a bottom blue line. An example of what I 
believe is a proper inheritance -- am I correct?

tedd:

PS:	Safari 1.1 (v100)
	IE 5.2.3 for the Mac
	Netscape 7.1

-- 
--------------------------------------------------------------------------------
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: