Forums Register Login

Display property - CSS - XML Bible contradicting ?

+Pie Number of slices to send: Send
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
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 561 times.
Similar Threads
Dynamic buttons
Doubt about WEB-INF
SOAP Fault for SOAP Action property
Cannot retrieve hidden values, declared in form tag, in Firefox
HTML hidden fields takes white space in IE6
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:06:50.