Reputation: 495
Is it possible to show the text from 'a' element which is inside a 'div' with display none?
I tried something like this.
.tabTwo{
position: relative;
margin-left: 190px;
margin-top: 85px;
display: none;
a{
display: inline;
}
}
Update With Solution Thanks to first answer I could solve my own problem which was to use visibility instead of display.
.tabTwo
position: relative;
margin-left: 190px;
margin-top: 85px;
visibility: hidden;
a{
visibility: visible;
}
}
Upvotes: 0
Views: 72
Reputation: 1748
Short answer: No. display:none means "this element, and all of its child elements, should not be displayed".
Upvotes: 1