• Post Reply Bookmark Topic Watch Topic
  • New Topic

Display property - CSS - XML Bible contradicting ?  RSS feed

Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Re the Display property, on p392 of XM Bible 2 nd Edition,

Children do not inherit the display property.

Contradicting this on p394:

Once you�ve hidden an element by using display:none you cannot then show
any of its descendants. For example, consider these rules:
SYNOPSIS {display:none }
LOCATION {display:block}
Because the LOCATION element is contained inside the SYNOPSIS element, it is hidden
even though its own display property is set to block .

yack...... :roll:
Anyone explain what this means....
Am I to assume that it is inherited only for display:none and not for other values....
- madhav
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!