Image

Imagelettucethink wrote in Imagewebdev

Inheritance

Apparently I am having a misunderstanding with inheritance and I need somebody to explain something to me. I thought that all my hr values would inherit their padding and border settings from the body element.

But I have now found that unless I set my margin and border values to zero (like the ones in the body element), they will retain their default values.

So far I know this happens in IE, but before I go into crazy browser-test mode I wanted to ask people if the real issue is a misunderstanding of the way inheritance works.